Interface: JwtVerifyOptions
Defined in: jwt.ts:167
Per-token options for JWTVerifier.verify.
Properties
context?
optionalcontext?:Uint8Array<ArrayBufferLike>
Defined in: jwt.ts:169
Must equal the context used to sign (default "jwt").
now?
optionalnow?:number
Defined in: jwt.ts:175
Override "now" (Unix seconds), mainly for tests.
requireExp?
optionalrequireExp?:boolean
Defined in: jwt.ts:173
Reject tokens that carry no exp claim (default false, as in quantum-safe-py). Recommended for anything that should expire.
validateExp?
optionalvalidateExp?:boolean
Defined in: jwt.ts:170
validateNbf?
optionalvalidateNbf?:boolean
Defined in: jwt.ts:171