1 | <?php |
||
16 | class Authenticate |
||
17 | { |
||
18 | //<editor-fold desc="Fields"> |
||
19 | /** |
||
20 | * The authentication guard factory instance. |
||
21 | * |
||
22 | * @var \Illuminate\Contracts\Auth\Factory |
||
23 | */ |
||
24 | protected $auth; |
||
25 | //</editor-fold desc="Fields"> |
||
26 | |||
27 | //<editor-fold desc="Constructor"> |
||
28 | /** |
||
29 | * Create a new middleware instance. |
||
30 | * |
||
31 | * @param \Illuminate\Contracts\Auth\Factory $auth |
||
32 | */ |
||
33 | public function __construct(Auth $auth) |
||
37 | //</editor-fold desc="Constructor"> |
||
38 | |||
39 | //<editor-fold desc="Public Methods"> |
||
40 | /** |
||
41 | * Handle an incoming request. |
||
42 | * |
||
43 | * @param \Illuminate\Http\Request $request |
||
44 | * @param \Closure $next |
||
45 | * @param string|null $guardName |
||
46 | * @return mixed |
||
47 | * @throws AuthenticationException if request doesn't provide valid authentication token |
||
48 | */ |
||
49 | public function handle($request, Closure $next, $guardName = null) |
||
66 | //</editor-fold desc="Public Methods"> |
||
67 | } |
||
68 |