loginWithPasswordAsync

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.

Parameters

clientIdentifier

The client identifier token.

brandIdentity

The identity of the partner using the Embedded Wallet.

request

А PasswordTokenRequest object with client's username and password.

scaDetails

An optional ScaAuthenticationEventRequest object with SCA confirmation information.

cancellationSignal

A CancellationSignal for canceling the operation.

callback

A callback to handle the result or error asynchronously.