mirror of
https://github.com/danbulant/jose
synced 2026-05-19 12:29:04 +00:00
2.4 KiB
2.4 KiB
Class: JWTExpired
util/errors.JWTExpired
An error subclass thrown when a JWT is expired.
Hierarchy
-
↳
JWTExpired
Table of contents
Constructors
Properties
Constructors
constructor
• new JWTExpired(message, claim?, reason?)
Parameters
| Name | Type | Default value |
|---|---|---|
message |
string |
undefined |
claim |
string |
'unspecified' |
reason |
string |
'unspecified' |
Inherited from
JWTClaimValidationFailed.constructor
Defined in
Properties
claim
• claim: string
The Claim for which the validation failed.
Inherited from
JWTClaimValidationFailed.claim
Defined in
code
• code: string
A unique error code for the particular error subclass.
Overrides
Defined in
reason
• reason: string
Reason code for the validation failure.
Inherited from
JWTClaimValidationFailed.reason
Defined in
code
▪ Static code: string = 'ERR_JWT_EXPIRED'
A unique error code for the particular error subclass.