encodeJWT()

Encodes a header object, payload object, and signature into a JSON web token.

Definition

function encodeJWT(header: object, payload: object, signature: Uint8Array): string;

Parameters

  • header
  • payload
  • signature