decodeJWT()

Parses and returns the token's payload. This does not check if the header or signature is well-formed, nor verify the payload claims, such as expiration, or the signature.

Definition

function decodeJWT(jwt: string): object;

Parameters

  • jwt