Skip to main content

VerifierOptions

fast-jwt


fast-jwt / VerifierOptions

Interface: VerifierOptions

Defined in: src/index.d.ts:91

Properties​

algorithms?​

optional algorithms?: Algorithm[]

Defined in: src/index.d.ts:92


allowedAud?​

optional allowedAud?: VerifierAllowed

Defined in: src/index.d.ts:98


allowedCritHeaders?​

optional allowedCritHeaders?: string[]

Defined in: src/index.d.ts:109


allowedIss?​

optional allowedIss?: VerifierAllowed

Defined in: src/index.d.ts:99


allowedJti?​

optional allowedJti?: VerifierAllowed

Defined in: src/index.d.ts:97


allowedNonce?​

optional allowedNonce?: VerifierAllowed

Defined in: src/index.d.ts:101


allowedSub?​

optional allowedSub?: VerifierAllowed

Defined in: src/index.d.ts:100


cache?​

optional cache?: number | boolean

Defined in: src/index.d.ts:94


cacheKeyBuilder?​

optional cacheKeyBuilder?: (token) => string

Defined in: src/index.d.ts:110

Parameters​

token​

string

Returns​

string


cacheTTL?​

optional cacheTTL?: number

Defined in: src/index.d.ts:95


checkTyp?​

optional checkTyp?: string

Defined in: src/index.d.ts:108


clockTimestamp?​

optional clockTimestamp?: number

Defined in: src/index.d.ts:105


clockTolerance?​

optional clockTolerance?: number

Defined in: src/index.d.ts:106


complete?​

optional complete?: boolean

Defined in: src/index.d.ts:93


errorCacheTTL?​

optional errorCacheTTL?: number | ((tokenError) => number)

Defined in: src/index.d.ts:96


ignoreExpiration?​

optional ignoreExpiration?: boolean

Defined in: src/index.d.ts:102


ignoreNotBefore?​

optional ignoreNotBefore?: boolean

Defined in: src/index.d.ts:103


maxAge?​

optional maxAge?: number

Defined in: src/index.d.ts:104


requiredClaims?​

optional requiredClaims?: string[]

Defined in: src/index.d.ts:107