| 1 | <?php |
||
| 9 | class Authenticate |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Handle an incoming request. |
||
| 14 | * |
||
| 15 | * @param \Illuminate\Http\Request $request |
||
| 16 | * @param \Closure $next |
||
| 17 | * |
||
| 18 | * @return mixed |
||
| 19 | * @throws \Sco\Admin\Exceptions\AuthenticationException |
||
| 20 | */ |
||
| 21 | public function handle($request, Closure $next) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Determine if the user is logged in to any of the given guards. |
||
| 30 | * |
||
| 31 | * @return mixed |
||
| 32 | * @throws \Sco\Admin\Exceptions\AuthenticationException |
||
| 33 | */ |
||
| 34 | protected function authenticate() |
||
| 42 | } |
||
| 43 |