doChallenge

abstract fun doChallenge(activity: Activity, challengeParameters: ChallengeParameters, callback: AuthenticationCallback)

If the ARes that is returned indicates that the Challenge Flow must be applied, the 3DS Requester App calls the doChallenge method with the required input parameters. The doChallenge method initiates the challenge process.

Note: The doChallenge method shall be called only when the Challenge Flow is to be applied.

When the doChallenge method is called, control of the app is passed to the 3DS SDK.

Parameters

activity

The Android activity instance that invoked doChallenge.

challengeParameters

ACS details (contained in the ARes) required by the 3DS SDK to conduct the challenge process during the transaction. Refer ChallengeParameters

callback

Callback object for notifying the 3DS Requester App about the challenge status. Refer AuthenticationCallback