Function createJWT

  • Generates a JWT token

    Parameters

    • data: any

      Payload to include in the token

    • expirationInMinutes: number = 0

      Expiration of the token (in minutes)

    Returns string

Generated using TypeDoc