| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Auth0AuthenticationMiddleware |
||
| 11 | { |
||
| 12 | protected $auth0Repository; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Auth0AuthenticationMiddleware constructor. |
||
| 16 | */ |
||
| 17 | public function __construct(Auth0UserRepository $auth0Repository) |
||
| 18 | { |
||
| 19 | $this->auth0Repository = $auth0Repository; |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Handle an incoming request. |
||
| 24 | * |
||
| 25 | * @param \Illuminate\Http\Request $request |
||
| 26 | * @param \Closure $next |
||
| 27 | * @return mixed |
||
| 28 | */ |
||
| 29 | public function handle($request, Closure $next) |
||
| 49 | } |
||
| 50 | } |
||
| 51 |