| Total Complexity | 6 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class JWTAuth |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var TenantService |
||
| 17 | */ |
||
| 18 | protected $tenantService; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * JWTAuth constructor. |
||
| 22 | * |
||
| 23 | * @param TenantService $tenantService |
||
| 24 | */ |
||
| 25 | public function __construct(TenantService $tenantService) |
||
| 26 | { |
||
| 27 | $this->tenantService = $tenantService; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Handle an incoming request. |
||
| 32 | * |
||
| 33 | * @param \Illuminate\Http\Request $request |
||
| 34 | * @param \Closure $next |
||
| 35 | * |
||
| 36 | * @throws \Illuminate\Validation\UnauthorizedException |
||
| 37 | * |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | public function handle($request, \Closure $next) |
||
| 69 | } |
||
| 70 | } |
||
| 71 |