Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
14 | 2 | public function run() |
|
15 | { |
||
16 | 2 | $config = $this->container->getConfig()->jwt->toArray(); |
|
17 | |||
18 | //ignore token validation if disable |
||
19 | 2 | $config['ignoreUri'] = ['regex: *']; |
|
20 | |||
21 | //JWT Validation |
||
22 | 2 | $auth = new AuthMicro($this->application, $config); |
|
23 | |||
24 | 2 | return $this->application; |
|
25 | } |
||
27 |