Skip to content

jwtClaims

function jwtClaims(token?): Record<string, unknown> | undefined;

Defined in: core/src/auth/oauth.ts:218

A JWT’s payload, read WITHOUT checking the signature. Safe here because nothing is authorized on it: it only names the account for display.

Parameter Type
token? string

Record<string, unknown> | undefined