public function checkClaim(JWTInterface $jwt) { if (!$jwt->hasClaim('nbf')) { return []; } $nbf = (int) $jwt->getClaim('nbf'); Assertion::lessOrEqualThan($nbf, time(), 'The JWT can not be used yet.'); return ['nbf']; }