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
-
-
Method Detail
-
withRawResponse
abstract AuthStreamEnrollmentServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract AuthStreamEnrollmentServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
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)
-
-
-
-