AbstractAbstractusernameSpecifies the username that must be used to authenticate.
Providing the username is required.
The username is the technical user identifier stored in the Account.username property. Do not provide the login identifier (for example the user's email address) here. We recommend always using the username provided via LocalData.accounts.
the username.
the Authentication object.
AbstractsessionSpecifies the session provider that must be used to authenticate.
the SessionProvider.
the Authentication object.
AbstractretryThe retry policy to be used to obtain an AuthorizationProvider after the user authenticates successfully. If obtaining an AuthorizationProvider fails on the first try, the SDK will retry according to the provided RetryPolicy. This policy is used when the backend is the Identity Suite and cookies are created after a successful authentication.
the retry policy to be used when retrieving the AuthorizationProvider. By default, the code will retry 3 times with a time interval of 1 second between tries.
the Authentication object.
AbstractauthenticatorSpecifies the object that will take care of the selection of the authenticator to be used.
Providing the authenticator selector is required.
the Authentication object.
AbstractpinSpecifies the object that will take care of the PIN user verification.
Providing at least one of the PinUserVerifier, PasswordUserVerifier, BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier is required.
the PinUserVerifier.
the Authentication object.
AbstractpasswordSpecifies the object that will take care of the password user verification.
Providing at least one of the PinUserVerifier, PasswordUserVerifier, BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier is required.
the PasswordUserVerifier.
the Authentication object.
AbstractbiometricSpecifies the object that will take care of the biometric user verification.
Providing at least one of the PinUserVerifier, PasswordUserVerifier, BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier is required.
the Authentication object.
AbstractdeviceSpecifies the object that will take care of the device passcode user verification.
Providing at least one of the PinUserVerifier, PasswordUserVerifier, BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier is required.
the Authentication object.
AbstractfingerprintSpecifies the object that will take care of the fingerprint user verification.
Providing at least one of the PinUserVerifier, PasswordUserVerifier, BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier is required.
the Authentication object.
AbstractonSpecifies the object that will be invoked if the authentication was successful.
Providing the onSuccess callback is required.
the callback which receives an optional AuthorizationProvider.
the Authentication object.
AbstractonSpecifies the object that will be invoked if the authentication failed.
Providing the onError callback is required.
the function which receives an AuthenticationError.
the Authentication object.
AbstractrequestSpecifies the additional request headers that must be included in the HTTP requests sent by the operation.
the HTTP headers.
an HttpOperation object.
AbstractexecuteExecutes the operation asynchronously.
The object that can be used to trigger an authentication operation.
Usage example: