• Generate one time token

    Parameters

    • authSecrets: AuthSecrets
    • data: object

      data to encapsulated inside token

    • tokenVerification: TokenVerification

      context to verify the token

    • Optional jwtSignOptions: SignOptions

      jwt options

    Returns string

    token

Generated using TypeDoc