Total Complexity | 5 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class Request extends PhRequest |
||
10 | { |
||
11 | /** |
||
12 | * @return string |
||
13 | */ |
||
14 | 66 | public function getBearerTokenFromHeader(): string |
|
17 | } |
||
18 | |||
19 | /** |
||
20 | * @return bool |
||
21 | */ |
||
22 | 66 | public function isEmptyBearerToken(): bool |
|
23 | { |
||
24 | 66 | return true === empty($this->getBearerTokenFromHeader()); |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Did we specify we dont need to validate JWT Token on this section? |
||
29 | * |
||
30 | * @return bool |
||
31 | */ |
||
32 | 69 | public function ignoreJwt() : bool |
|
35 | } |
||
36 | } |
||
37 |