| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class JwtAccessToken implements ExtensionInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var JwtParserInterface |
||
| 16 | */ |
||
| 17 | private $parser; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * JwtAccessToken constructor. |
||
| 21 | * |
||
| 22 | * @param JwtParserInterface|null $parser |
||
| 23 | */ |
||
| 24 | 1 | public function __construct(JwtParserInterface $parser = null) |
|
| 25 | { |
||
| 26 | 1 | $this->parser = $parser ?: new JwtParser(); |
|
| 27 | 1 | } |
|
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | 1 | public function configure(ClientInterface $client): void |
|
| 35 | 1 | } |
|
| 36 | } |
||
| 37 |