JwtDecode()
Signature
declare function jwtDecode<T = JwtHeader>(token: string, options: JwtDecodeOptions & {
header: true;
}): T;
Parameters
Parameter | Type | Description |
---|---|---|
token | string | target |
options | JwtDecodeOptions & { header: true; } | jwt decode option |
Returns
T
decoded