Interface AuthenticationServiceAsync
-
- All Implemented Interfaces:
public interface AuthenticationServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAuthenticationServiceAsync.WithRawResponseA view of AuthenticationServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AuthenticationServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract AuthenticationServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<AuthenticationRetrieveResponse> retrieve(String threeDSAuthenticationToken)
Get 3DS Authentication by token
-
retrieve
CompletableFuture<AuthenticationRetrieveResponse> retrieve(String threeDSAuthenticationToken, ThreeDSAuthenticationRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<AuthenticationRetrieveResponse> retrieve(String threeDSAuthenticationToken, ThreeDSAuthenticationRetrieveParams params)
-
retrieve
abstract CompletableFuture<AuthenticationRetrieveResponse> retrieve(ThreeDSAuthenticationRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<AuthenticationRetrieveResponse> retrieve(ThreeDSAuthenticationRetrieveParams params)
-
retrieve
CompletableFuture<AuthenticationRetrieveResponse> retrieve(String threeDSAuthenticationToken, RequestOptions requestOptions)
-
simulate
CompletableFuture<AuthenticationSimulateResponse> simulate(ThreeDSAuthenticationSimulateParams params)
Simulates a 3DS authentication request from the payment network as if it came from an ACS. If you're configured for 3DS Customer Decisioning, simulating authentications requires your customer decisioning endpoint to be set up properly (respond with a valid JSON). If the authentication decision is to challenge, ensure that the account holder associated with the card transaction has a valid phone number configured to receive the OTP code via SMS.
-
simulate
abstract CompletableFuture<AuthenticationSimulateResponse> simulate(ThreeDSAuthenticationSimulateParams params, RequestOptions requestOptions)
-
simulateOtpEntry
CompletableFuture<Void> simulateOtpEntry(ThreeDSAuthenticationSimulateOtpEntryParams params)
Endpoint for simulating entering OTP into 3DS Challenge UI. A call to /v1/three_ds_authentication/simulate that resulted in triggered SMS-OTP challenge must precede. Only a single attempt is supported; upon entering OTP, the challenge is either approved or declined.
-
simulateOtpEntry
abstract CompletableFuture<Void> simulateOtpEntry(ThreeDSAuthenticationSimulateOtpEntryParams params, RequestOptions requestOptions)
-
-
-
-