Documentation navigation

Auth

Get access-token claims

Decodes and verifies claims from a supplied token or the current session.

Parameters

jwt?string
An access token. When omitted, the current session is used.
options.keys?JWK[]
Signing keys supplied by the application.
options.allowExpired?boolean
Whether an expired token may be decoded.
options.jwks.keys?JWK[]
A JSON Web Key Set supplied by the application.

Returns

headerJwtHeader
signatureUint8Array