Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | trait RequestJwtTrait |
||
16 | { |
||
17 | /** |
||
18 | * @return string |
||
19 | */ |
||
20 | 61 | public function getBearerTokenFromHeader(): string |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return bool |
||
27 | */ |
||
28 | 61 | public function isEmptyBearerToken(): bool |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * Did we specify we dont need to validate JWT Token on this section? |
||
35 | * |
||
36 | * @return bool |
||
37 | */ |
||
38 | 69 | public function ignoreJwt(Route $route) : bool |
|
49 |