pub struct WebAuthnApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl WebAuthnApiClient
impl WebAuthnApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl WebAuthnApi for WebAuthnApiClient
impl WebAuthnApi for WebAuthnApiClient
Source§fn assertion_options<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnLoginAssertionOptionsResponseModel, Error<AssertionOptionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn assertion_options<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnLoginAssertionOptionsResponseModel, Error<AssertionOptionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /webauthn/assertion-options
Source§fn attestation_options<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnCredentialCreateOptionsResponseModel, Error<AttestationOptionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn attestation_options<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnCredentialCreateOptionsResponseModel, Error<AttestationOptionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /webauthn/attestation-options
Source§fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /webauthn/{id}/delete
Source§fn get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnCredentialResponseModelListResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnCredentialResponseModelListResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /webauthn
Source§fn post<'a, 'life0, 'async_trait>(
&'life0 self,
web_authn_login_credential_create_request_model: Option<WebAuthnLoginCredentialCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post<'a, 'life0, 'async_trait>(
&'life0 self,
web_authn_login_credential_create_request_model: Option<WebAuthnLoginCredentialCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /webauthn
Source§fn update_credential<'a, 'life0, 'async_trait>(
&'life0 self,
web_authn_login_credential_update_request_model: Option<WebAuthnLoginCredentialUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateCredentialError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_credential<'a, 'life0, 'async_trait>(
&'life0 self,
web_authn_login_credential_update_request_model: Option<WebAuthnLoginCredentialUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateCredentialError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /webauthn
Auto Trait Implementations§
impl Freeze for WebAuthnApiClient
impl !RefUnwindSafe for WebAuthnApiClient
impl Send for WebAuthnApiClient
impl Sync for WebAuthnApiClient
impl Unpin for WebAuthnApiClient
impl !UnwindSafe for WebAuthnApiClient
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more