Skip to content

Interface: StandardVerifyOptions ​

Defined in: jwt.ts:357

Options for StandardJwt.verify.

Properties ​

audience? ​

optional audience?: string

Defined in: jwt.ts:361

If set, the aud claim must include this.


issuer? ​

optional issuer?: string

Defined in: jwt.ts:359

If set, the iss claim must equal this.


now? ​

optional now?: number

Defined in: jwt.ts:369

Override "now" (Unix seconds), mainly for tests.


requireExp? ​

optional requireExp?: boolean

Defined in: jwt.ts:367

Reject tokens that carry no exp claim (default false). Recommended for anything that should expire.


validateExp? ​

optional validateExp?: boolean

Defined in: jwt.ts:363

Check exp when the token has one (default true).


validateNbf? ​

optional validateNbf?: boolean

Defined in: jwt.ts:365

Check nbf when the token has one (default true).

Apache-2.0.