StandaloneAuthenticationService

Interface for standalone authentication operations, including login with password, PIN or biometric, and handling authentication methods.

Functions

Link copied to clipboard

Generates a new authentication biometric credential. It can only be created if the selected authentication is permitted for use. The created credential serves as a unique secure identifier, allowing the user to authenticate with it.

Link copied to clipboard

Asynchronously generates a new authentication biometric credential. It can only be created if the selected authentication is permitted for use. The created credential serves as a unique secure identifier, allowing the user to authenticate with it.

Link copied to clipboard

Removes an existing authentication biometric credential.Deletion is only allowed when the selected authentication is permitted for use. This action is permanent and will delete the credential from the user's wallet account.

Link copied to clipboard

Asynchronously removes an existing authentication biometric credential.Deletion is only allowed when the selected authentication is permitted for use. This action is permanent and will delete the credential from the user's wallet account.

Link copied to clipboard

Obtain the status of the biometric credential for the current device.

Link copied to clipboard

Asynchronously obtain the status of the biometric credential for the current device.

Link copied to clipboard
abstract suspend fun loginWithBiometric(clientIdentifier: String, brandIdentity: String, request: BiometricTokenRequest, scaDetails: ScaAuthenticationEventRequest? = null): Token

Obtain an access token by providing username and biometric.

Link copied to clipboard
open fun loginWithBiometricAsync(clientIdentifier: String, brandIdentity: String, request: BiometricTokenRequest, scaDetails: ScaAuthenticationEventRequest?, cancellationSignal: CancellationSignal?, callback: WalletCallback<Token>)

Asynchronously obtain an access token by providing username and biometric data.

Link copied to clipboard
abstract suspend fun loginWithPassword(clientIdentifier: String, brandIdentity: String, request: PasswordTokenRequest, scaDetails: ScaAuthenticationEventRequest? = null): Token

Obtain an access token by providing username and password.

Link copied to clipboard
open fun loginWithPasswordAsync(clientIdentifier: String, brandIdentity: String, request: PasswordTokenRequest, scaDetails: ScaAuthenticationEventRequest?, cancellationSignal: CancellationSignal?, callback: WalletCallback<Token>)

Asynchronously obtains an access token by providing username and password.

Link copied to clipboard
abstract suspend fun loginWithPin(clientIdentifier: String, brandIdentity: String, request: PinTokenRequest, scaDetails: ScaAuthenticationEventRequest? = null): Token

Obtain an access token by providing username and PIN.

Link copied to clipboard
open fun loginWithPinAsync(clientIdentifier: String, brandIdentity: String, request: PinTokenRequest, scaDetails: ScaAuthenticationEventRequest?, cancellationSignal: CancellationSignal?, callback: WalletCallback<Token>)

Asynchronously obtain an access token by providing username and PIN.

Link copied to clipboard
abstract suspend fun refreshToken(clientIdentifier: String, brandIdentity: String, request: RefreshTokenRequest): Token

Obtain a new access token using refresh token from previous authentication.

Link copied to clipboard
open fun refreshTokenAsync(clientIdentifier: String, brandIdentity: String, request: RefreshTokenRequest, cancellationSignal: CancellationSignal?, callback: WalletCallback<Token>)

Asynchronously obtain a new access token using refresh token from previous authentication.