WithRawResponse

interface WithRawResponse

A view of AuthStreamEnrollmentServiceAsync that provides access to raw HTTP responses for each method.

Inheritors

Functions

Link copied to clipboard
@MustBeClosed
open suspend fun retrieveSecret(requestOptions: RequestOptions): HttpResponseFor<AuthStreamSecret>

@MustBeClosed
abstract suspend fun retrieveSecret(params: AuthStreamEnrollmentRetrieveSecretParams = AuthStreamEnrollmentRetrieveSecretParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<AuthStreamSecret>

Returns a raw HTTP response for get /v1/auth_stream/secret, but is otherwise the same as AuthStreamEnrollmentServiceAsync.retrieveSecret.

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

@MustBeClosed
abstract suspend fun rotateSecret(params: AuthStreamEnrollmentRotateSecretParams = AuthStreamEnrollmentRotateSecretParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponse

Returns a raw HTTP response for post /v1/auth_stream/secret/rotate, but is otherwise the same as AuthStreamEnrollmentServiceAsync.rotateSecret.

Link copied to clipboard

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