{"record":{"id":"39eb278d05367161","repo":"tymondesigns/jwt-auth","slug":"not-before-nbf-timestamp-cannot-be-in-the-future","errorCode":null,"errorMessage":"Not Before (nbf) timestamp cannot be in the future","messagePattern":"Not Before \\(nbf\\) timestamp cannot be in the future","errorType":"exception","errorClass":"Tymon\\JWTAuth\\Exceptions\\TokenInvalidException","httpStatus":null,"severity":"error","filePath":"src/Claims/NotBefore.php","lineNumber":31,"sourceCode":"\nuse Tymon\\JWTAuth\\Exceptions\\TokenInvalidException;\n\nclass NotBefore extends Claim\n{\n    use DatetimeTrait;\n\n    /**\n     * {@inheritdoc}\n     */\n    protected $name = 'nbf';\n\n    /**\n     * {@inheritdoc}\n     */\n    public function validatePayload()\n    {\n        if ($this->isFuture($this->getValue())) {\n            throw new TokenInvalidException('Not Before (nbf) timestamp cannot be in the future');\n        }\n    }\n}\n","sourceCodeStart":13,"sourceCodeEnd":35,"githubUrl":"https://github.com/tymondesigns/jwt-auth/blob/6c70930a92710d97e8e52b182fca2176097f33be/src/Claims/NotBefore.php#L13-L35","documentation":"Error \"Not Before (nbf) timestamp cannot be in the future\" thrown in tymondesigns/jwt-auth.","triggerScenarios":"Thrown at src/Claims/NotBefore.php:31 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c70930a92710d97e8e52b182fca2176097f33be","analyzedAt":"2026-08-21T02:16:37.040Z","schemaVersion":2},"datasetVersion":"2026-08-21T03:17:12.404Z"}