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