{"record":{"id":"a51b641e66966f67","repo":"tymondesigns/jwt-auth","slug":"token-has-expired","errorCode":null,"errorMessage":"Token has expired","messagePattern":"Token has expired","errorType":"exception","errorClass":"Tymon\\JWTAuth\\Exceptions\\TokenExpiredException","httpStatus":null,"severity":"error","filePath":"src/Claims/Expiration.php","lineNumber":31,"sourceCode":"\nuse Tymon\\JWTAuth\\Exceptions\\TokenExpiredException;\n\nclass Expiration extends Claim\n{\n    use DatetimeTrait;\n\n    /**\n     * {@inheritdoc}\n     */\n    protected $name = 'exp';\n\n    /**\n     * {@inheritdoc}\n     */\n    public function validatePayload()\n    {\n        if ($this->isPast($this->getValue())) {\n            throw new TokenExpiredException('Token has expired');\n        }\n    }\n}\n","sourceCodeStart":13,"sourceCodeEnd":35,"githubUrl":"https://github.com/tymondesigns/jwt-auth/blob/6c70930a92710d97e8e52b182fca2176097f33be/src/Claims/Expiration.php#L13-L35","documentation":"Error \"Token has expired\" thrown in tymondesigns/jwt-auth.","triggerScenarios":"Thrown at src/Claims/Expiration.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"}