X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/laravel/sanctum/src/Http/Middleware
home
/
prisjneg
/
public_html
/
vendor
/
laravel
/
sanctum
/
src
/
Http
/
Middleware
/
📁
..
📄
AuthenticateSession.php
(2.6 KB)
📄
CheckAbilities.php
(936 B)
📄
CheckForAnyAbility.php
(940 B)
📄
CheckForAnyScope.php
(856 B)
📄
CheckScopes.php
(843 B)
📄
EnsureFrontendRequestsAreStateful.php
(2.68 KB)
Editing: CheckForAnyScope.php
<?php namespace Laravel\Sanctum\Http\Middleware; use Laravel\Sanctum\Exceptions\MissingScopeException; /** * @deprecated * @see \Laravel\Sanctum\Http\Middleware\CheckForAnyAbility */ class CheckForAnyScope { /** * Handle the incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param mixed ...$scopes * @return \Illuminate\Http\Response * * @throws \Illuminate\Auth\AuthenticationException|\Laravel\Sanctum\Exceptions\MissingScopeException */ public function handle($request, $next, ...$scopes) { try { return (new CheckForAnyAbility())->handle($request, $next, ...$scopes); } catch (\Laravel\Sanctum\Exceptions\MissingAbilityException $e) { throw new MissingScopeException($e->abilities()); } } }
Upload File
Create Folder