Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class NonceChecker implements ClaimChecker |
||
11 | { |
||
12 | private const CLAIM_NAME = 'nonce'; |
||
13 | |||
14 | /** @var string */ |
||
15 | private $nonce; |
||
16 | |||
17 | public function __construct(string $nonce) |
||
18 | { |
||
19 | $this->nonce = $nonce; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function checkClaim($value): void |
||
29 | } |
||
30 | } |
||
31 | |||
32 | public function supportedClaim(): string |
||
37 |