AuthResponse

AuthResponse

# new AuthResponse(response)

Creates a new AuthResponse instance from the provided parameters.
Parameters:
Name Type Description
response Object Auth response parameters
Properties
Name Type Attributes Description
user CurrentUser User Display name
referral Object <optional>
Referral data (if any)
Properties
Name Type Attributes Default Description
referrerUserId string <optional>
Referrer User ID
token string <optional>
Token
provider string <optional>
Provider
firstMatch boolean <optional>
false true if the web app is opened for the first time on this device.
linkParams Object.<string, string> <optional>
{} Referral link parameters
guaranteedMatch boolean <optional>
false true if the backend trust this result 100%. Fingerprint matches are always false
originalData Object.<string, string> <optional>
{} Original referral link parameters