| 1 | <?php |
||
| 19 | final class NotBeforeChecker implements ClaimChecker |
||
| 20 | { |
||
| 21 | private const CLAIM_NAME = 'nbf'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var int |
||
| 25 | */ |
||
| 26 | private $allowedTimeDrift; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * ExpirationTimeChecker constructor. |
||
| 30 | * |
||
| 31 | * @param int $allowedTimeDrift |
||
| 32 | */ |
||
| 33 | public function __construct(int $allowedTimeDrift = 0) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public function checkClaim($value) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function supportedClaim(): string |
||
| 58 | } |
||
| 59 |