public static interface Card3DS2Authenticator.ChallengeListener
Modifier and Type | Method and Description |
---|---|
void |
onCancel()
This method will be called when a user backs from a challenge.
|
void |
onFailure(ThreeDS2Exception e)
Invoked on challenge failure.
|
void |
onSuccess(ChallengeResult challengeResult)
Invoked on challenge finish without a failure.
|
void |
onTimeout()
This method will be called on challenge timeout.
The default timeout is 10 minutes, the minimum timout is 5 minutes. It is possible to change the challenge timeout by passing desirable timeout to the following method Card3DS2Authenticator.presentChallenge(String, int, ChallengeListener) |
void onSuccess(ChallengeResult challengeResult)
challengeResult
- ChallengeResult
contains the challenge authentication state and payload.void onCancel()
void onTimeout()
Card3DS2Authenticator.presentChallenge(String, int, ChallengeListener)
void onFailure(ThreeDS2Exception e)
e
- ThreeDS2Exception
contains the failure metadata.