• NewJWT generates and returns new HS256 signed JWT.

    Parameters

    • payload: {
          [key: string]: any;
      }
      • [key: string]: any
    • signingKey: string
    • secDuration: number

    Returns string

Generated using TypeDoc