authenticateOtp

Initiates authentication using an OTP, which will be sent to the provided email address.

Parameters

url

The authentication URL of the current transaction.

email

The email address where the OTP will be sent.


fun authenticateOtp(url: String, email: String, dispatcher: CoroutineDispatcher = Dispatchers.Default): Flow<Result<OtpChallengeResponse>>

Initiates authentication using an OTP, which will be sent to the provided email address.

Return

Flow of OtpChallengeResponse or Throwable

Parameters

url

The authentication URL of the current transaction.

email

The email address where the OTP will be sent.