Package com.lithic.api.services.async
Interface AuthStreamEnrollmentServiceAsync
-
- All Implemented Interfaces:
public interface AuthStreamEnrollmentServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAuthStreamEnrollmentServiceAsync.WithRawResponseA view of AuthStreamEnrollmentServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract AuthStreamEnrollmentServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<AuthStreamSecret>retrieveSecret()Retrieve the ASA HMAC secret key. abstract CompletableFuture<AuthStreamSecret>retrieveSecret(AuthStreamEnrollmentRetrieveSecretParams params, RequestOptions requestOptions)CompletableFuture<AuthStreamSecret>retrieveSecret(AuthStreamEnrollmentRetrieveSecretParams params)CompletableFuture<AuthStreamSecret>retrieveSecret(RequestOptions requestOptions)CompletableFuture<Void>rotateSecret()Generate a new ASA HMAC secret key. abstract CompletableFuture<Void>rotateSecret(AuthStreamEnrollmentRotateSecretParams params, RequestOptions requestOptions)CompletableFuture<Void>rotateSecret(AuthStreamEnrollmentRotateSecretParams params)CompletableFuture<Void>rotateSecret(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract AuthStreamEnrollmentServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
retrieveSecret
CompletableFuture<AuthStreamSecret> retrieveSecret()
Retrieve the ASA HMAC secret key. If one does not exist for your program yet, calling this endpoint will create one for you. The headers (which you can use to verify webhooks) will begin appearing shortly after calling this endpoint for the first time. See this page for more detail about verifying ASA webhooks.
-
retrieveSecret
abstract CompletableFuture<AuthStreamSecret> retrieveSecret(AuthStreamEnrollmentRetrieveSecretParams params, RequestOptions requestOptions)
-
retrieveSecret
CompletableFuture<AuthStreamSecret> retrieveSecret(AuthStreamEnrollmentRetrieveSecretParams params)
-
retrieveSecret
CompletableFuture<AuthStreamSecret> retrieveSecret(RequestOptions requestOptions)
-
rotateSecret
CompletableFuture<Void> rotateSecret()
Generate a new ASA HMAC secret key. The old ASA HMAC secret key will be deactivated 24 hours after a successful request to this endpoint. Make a
GET /auth_stream/secretrequest to retrieve the new secret key.
-
rotateSecret
abstract CompletableFuture<Void> rotateSecret(AuthStreamEnrollmentRotateSecretParams params, RequestOptions requestOptions)
-
rotateSecret
CompletableFuture<Void> rotateSecret(AuthStreamEnrollmentRotateSecretParams params)
-
rotateSecret
CompletableFuture<Void> rotateSecret(RequestOptions requestOptions)
-
-
-
-