Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class JWTAuth extends BaseJWTAuth |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | 33 | public function __construct(JWTManager $manager, UserInterface $user, AuthInterface $auth, Request $request) |
|
17 | { |
||
18 | 33 | parent::__construct($manager, $user, $auth, $request); |
|
19 | 33 | } |
|
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | 33 | public function parseToken($method = 'bearer', $header = 'authorization', $query = 'jwt-token'): BaseJWTAuth |
|
27 | } |
||
28 | } |
||
29 |