Class

AuthenticationRequest

AuthenticationRequest

Authentication request is created when either

Members

string

# id

ID of the authentication request.
string

# siteId

ID of the site the authentication request belongs to.
string

# url

URL of the authentication request pop-up.
string

# visitorId

ID of the visitor whose authentication is requested.

Methods

# decline(reason) → {Promise}

Declines the authentication request of the current context.
Parameters:
Name Type Description
reason string The explanation why authentication request was declined.
Promise - Fulfilled with an empty object or rejected with an Error if the process fails for any reason. The Error may have one of the following causes:
  • INVALID_INPUT,
  • TIMEOUT,
  • INTERNAL_ERROR.
Promise