| 1 | <?php namespace Distilleries\Expendable\Http\Middleware; |
||
| 7 | class Authenticate { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * The Guard implementation. |
||
| 11 | * |
||
| 12 | * @var Guard |
||
| 13 | */ |
||
| 14 | protected $auth; |
||
| 15 | protected $config; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Create a new filter instance. |
||
| 19 | * |
||
| 20 | * @param Guard $auth |
||
| 21 | */ |
||
| 22 | public function __construct(Guard $auth, Repository $config) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Handle an incoming request. |
||
| 30 | * |
||
| 31 | * @param \Illuminate\Http\Request $request |
||
| 32 | * @param \Closure $next |
||
| 33 | * @return mixed |
||
| 34 | */ |
||
| 35 | public function handle($request, Closure $next) |
||
| 50 | } |