{"record":{"id":"90ba7c7235743823","repo":"tymondesigns/jwt-auth","slug":"issued-at-iat-timestamp-cannot-be-in-the-future","errorCode":null,"errorMessage":"Issued At (iat) timestamp cannot be in the future","messagePattern":"Issued At \\(iat\\) timestamp cannot be in the future","errorType":"exception","errorClass":"Tymon\\JWTAuth\\Exceptions\\TokenInvalidException","httpStatus":null,"severity":"error","filePath":"src/Claims/IssuedAt.php","lineNumber":49,"sourceCode":"     */\n    public function validateCreate($value)\n    {\n        $this->commonValidateCreate($value);\n\n        if ($this->isFuture($value)) {\n            throw new InvalidClaimException($this);\n        }\n\n        return $value;\n    }\n\n    /**\n     * {@inheritdoc}\n     */\n    public function validatePayload()\n    {\n        if ($this->isFuture($this->getValue())) {\n            throw new TokenInvalidException('Issued At (iat) timestamp cannot be in the future');\n        }\n    }\n\n    /**\n     * {@inheritdoc}\n     */\n    public function validateRefresh($refreshTTL)\n    {\n        if ($this->isPast($this->getValue() + $refreshTTL * 60)) {\n            throw new TokenExpiredException('Token has expired and can no longer be refreshed');\n        }\n    }\n}\n","sourceCodeStart":31,"sourceCodeEnd":63,"githubUrl":"https://github.com/tymondesigns/jwt-auth/blob/6c70930a92710d97e8e52b182fca2176097f33be/src/Claims/IssuedAt.php#L31-L63","documentation":"Error \"Issued At (iat) timestamp cannot be in the future\" thrown in tymondesigns/jwt-auth.","triggerScenarios":"Thrown at src/Claims/IssuedAt.php:49 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"}