Interface: StandardVerifyOptions
Defined in: jwt.ts:357
Options for StandardJwt.verify.
Properties
audience?
optionalaudience?:string
Defined in: jwt.ts:361
If set, the aud claim must include this.
issuer?
optionalissuer?:string
Defined in: jwt.ts:359
If set, the iss claim must equal this.
now?
optionalnow?:number
Defined in: jwt.ts:369
Override "now" (Unix seconds), mainly for tests.
requireExp?
optionalrequireExp?:boolean
Defined in: jwt.ts:367
Reject tokens that carry no exp claim (default false). Recommended for anything that should expire.
validateExp?
optionalvalidateExp?:boolean
Defined in: jwt.ts:363
Check exp when the token has one (default true).
validateNbf?
optionalvalidateNbf?:boolean
Defined in: jwt.ts:365
Check nbf when the token has one (default true).