Hierarchy

  • newToken
  • Deprecated: Consider replacing with NewJWT().

    NewToken is a legacy alias for NewJWT that generates a HS256 signed JWT.

    Parameters

    • payload: MapClaims
    • signingKey: string
    • secondsDuration: number

    Returns string

Generated using TypeDoc