public final class Card3DS2Authenticator
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Card3DS2Authenticator.ChallengeListener |
static interface |
Card3DS2Authenticator.FingerprintListener |
static class |
Card3DS2Authenticator.SimpleChallengeListener
Simple implementation of
Card3DS2Authenticator.ChallengeListener provides empty implementation of optional
callback methods Card3DS2Authenticator.ChallengeListener.onCancel() and Card3DS2Authenticator.ChallengeListener.onTimeout(). |
| Constructor and Description |
|---|
Card3DS2Authenticator(Activity activity)
Initializes the 3DS2 card authenticator.
|
Card3DS2Authenticator(Activity activity,
UiCustomization uiCustomization)
Initializes the 3DS2 card authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createFingerprint(java.lang.String encodedFingerprintToken,
Card3DS2Authenticator.FingerprintListener listener)
Creates a fingerprint using a fingerprint token received from the Checkout API.
|
void |
createFingerprint(java.lang.String directoryServerId,
java.lang.String directoryServerPublicKey,
Card3DS2Authenticator.FingerprintListener listener)
Creates a fingerprint using a directory server identifier and public key.
|
boolean |
isReleased() |
void |
presentChallenge(java.lang.String encodedChallengeToken,
Card3DS2Authenticator.ChallengeListener listener)
Presents a challenge with a default challenge timeout of 10 minutes.
|
void |
presentChallenge(java.lang.String encodedChallengeToken,
int challengeTimeOut,
Card3DS2Authenticator.ChallengeListener listener)
Presents a challenge.
|
void |
release()
Releases the resources been held by the
Card3DS2Authenticator. |
public Card3DS2Authenticator(Activity activity)
activity - The current activitypublic Card3DS2Authenticator(Activity activity,
UiCustomization uiCustomization)
activity - The current activity.uiCustomization - (optional) The UiCustomization, UI configuration information that is used to specify the UI layout and theme.public void createFingerprint(java.lang.String encodedFingerprintToken,
Card3DS2Authenticator.FingerprintListener listener)
encodedFingerprintToken - The fingerprint token received from the Checkout API.listener - Card3DS2Authenticator.FingerprintListener The fingerprint listener listens to fingerprint creation success or failure.public void createFingerprint(java.lang.String directoryServerId,
java.lang.String directoryServerPublicKey,
Card3DS2Authenticator.FingerprintListener listener)
directoryServerId - The directory server identifier.directoryServerPublicKey - The directory server public key.listener - Card3DS2Authenticator.FingerprintListener The fingerprint listener listens to fingerprint creation success or failure.public void presentChallenge(java.lang.String encodedChallengeToken,
Card3DS2Authenticator.ChallengeListener listener)
throws ThreeDS2Exception
encodedChallengeToken - The challenge token, as received from the Checkout API.listener - Card3DS2Authenticator.ChallengeListener The challenge listener listens to challenge authentication success or failure.ThreeDS2Exceptionpublic void presentChallenge(java.lang.String encodedChallengeToken,
int challengeTimeOut,
Card3DS2Authenticator.ChallengeListener listener)
throws ThreeDS2Exception
encodedChallengeToken - The challenge token, as received from the Checkout API.challengeTimeOut - The challenge timeout in minutes, the default is 10 minutes, minimum is 5 minutes.listener - Card3DS2Authenticator.ChallengeListener The challenge listener listens to challenge authentication success or failure.ThreeDS2Exceptionpublic void release()
Card3DS2Authenticator.public boolean isReleased()
Card3DS2Authenticator is released, otherwise false.