Skip to content
providerkit
GitHub

jwtClaims

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

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

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