mirror of
https://github.com/danbulant/jose
synced 2026-05-20 21:08:44 +00:00
2 KiB
2 KiB
Class: JWTExpired
An error subclass thrown when a JWT is expired.
Index
Constructors
Properties
Constructors
constructor
+ new JWTExpired(message: string, claim?: string, reason?: string): JWTExpired
Overrides JOSEError.constructor
Defined in src/util/errors.ts:36
Parameters:
| Name | Type | Default value |
|---|---|---|
message |
string | - |
claim |
string | "unspecified" |
reason |
string | "unspecified" |
Returns: JWTExpired
Properties
claim
• claim: string
Defined in src/util/errors.ts:31
The Claim for which the validation failed.
code
• code: string = "ERR_JWT_EXPIRED"
Overrides JWTClaimValidationFailed.code
Defined in src/util/errors.ts:135
message
• message: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
name
• name: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:973
reason
• reason: string
Defined in src/util/errors.ts:36
Reason code for the validation failure.
stack
• Optional stack: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:975