retrieveSecret

abstract suspend fun retrieveSecret(params: AuthStreamEnrollmentRetrieveSecretParams = AuthStreamEnrollmentRetrieveSecretParams.none(), requestOptions: RequestOptions = RequestOptions.none()): 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.


open suspend fun retrieveSecret(requestOptions: RequestOptions): AuthStreamSecret

See also