AuthenticationService

Interface for authentication operations.

Functions

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

Send a SCA challenge as part of the ongoing Embedded or Hybrid SCA process.

Link copied to clipboard

Asynchronously send a SCA challenge as part of the ongoing Embedded or Hybrid SCA process.

Link copied to clipboard

Submit an Embedded or Hybrid authentication attempt for a SCA event.

Link copied to clipboard

Asynchronously submit an Embedded or Hybrid authentication attempt for a SCA event.