| 1 | <?php |
||
| 10 | class CheckScopes |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Handle the incoming request. |
||
| 14 | * |
||
| 15 | * @param \Illuminate\Http\Request $request |
||
| 16 | * @param \Closure $next |
||
| 17 | * @param mixed ...$scopes |
||
| 18 | * |
||
| 19 | * @throws \Illuminate\Auth\AuthenticationException|\Rinvex\Oauth\Exceptions\MissingScopeException |
||
| 20 | * |
||
| 21 | * @return \Illuminate\Http\Response |
||
| 22 | */ |
||
|
|
|||
| 23 | public function handle($request, $next, ...$scopes) |
||
| 37 | } |
||
| 38 |