1 | <?php |
||
18 | class Authenticate |
||
19 | { |
||
20 | /** |
||
21 | * The authentication guard instance. |
||
22 | * |
||
23 | * @var \Illuminate\Contracts\Auth\Guard |
||
24 | */ |
||
25 | protected $auth; |
||
26 | |||
27 | /** |
||
28 | * Create a new authenticate middleware instance. |
||
29 | * |
||
30 | * @param \Illuminate\Contracts\Auth\Guard $auth |
||
31 | */ |
||
32 | public function __construct(Guard $auth) |
||
36 | |||
37 | /** |
||
38 | * Handle an incoming request. |
||
39 | * |
||
40 | * @param \Illuminate\Http\Request $request |
||
41 | * @param \Closure $next |
||
42 | * |
||
43 | * @return mixed |
||
44 | */ |
||
45 | public function handle($request, Closure $next) |
||
53 | } |
||
54 |