core.parsejwtpayload
Home > @medplum/core > parseJWTPayload
parseJWTPayload() function
Parses the JWT payload.
Signature:
export declare function parseJWTPayload(token: string): Record<string, number | string>;
Parameters
Parameter | Type | Description |
---|---|---|
token | string | JWT token. |
Returns:
Record<string, number | string>
Collection of key value claims in the JWT payload.