AuthStreamEnrollmentServiceAsyncImpl

Functions

Link copied to clipboard
open suspend fun retrieveSecret(requestOptions: RequestOptions): AuthStreamSecret

open suspend override fun retrieveSecret(params: AuthStreamEnrollmentRetrieveSecretParams, requestOptions: RequestOptions): AuthStreamSecret

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.

Link copied to clipboard
open suspend fun rotateSecret(requestOptions: RequestOptions)

open suspend override fun rotateSecret(params: AuthStreamEnrollmentRotateSecretParams, requestOptions: RequestOptions)

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/secret request to retrieve the new secret key.

Link copied to clipboard

Returns a view of this service with the given option modifications applied.

Link copied to clipboard

Returns a view of this service that provides access to raw HTTP responses for each method.