pub trait AccountsApi: Send + Sync {
// Required methods
fn get_web_authn_login_assertion_options<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnLoginAssertionOptionsResponseModel, Error<GetWebAuthnLoginAssertionOptionsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn post_prelogin<'a, 'life0, 'async_trait>(
&'life0 self,
prelogin_request_model: Option<PreloginRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PreloginResponseModel, Error<PostPreloginError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn post_register_finish<'a, 'life0, 'async_trait>(
&'life0 self,
register_finish_request_model: Option<RegisterFinishRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<RegisterFinishResponseModel, Error<PostRegisterFinishError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn post_register_send_verification_email<'a, 'life0, 'async_trait>(
&'life0 self,
register_send_verification_email_request_model: Option<RegisterSendVerificationEmailRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostRegisterSendVerificationEmailError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn post_register_verification_email_clicked<'a, 'life0, 'async_trait>(
&'life0 self,
register_verification_email_clicked_request_model: Option<RegisterVerificationEmailClickedRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostRegisterVerificationEmailClickedError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn post_trial_initiation_send_verification_email<'a, 'life0, 'async_trait>(
&'life0 self,
trial_send_verification_email_request_model: Option<TrialSendVerificationEmailRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostTrialInitiationSendVerificationEmailError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn get_web_authn_login_assertion_options<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnLoginAssertionOptionsResponseModel, Error<GetWebAuthnLoginAssertionOptionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_web_authn_login_assertion_options<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<WebAuthnLoginAssertionOptionsResponseModel, Error<GetWebAuthnLoginAssertionOptionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /accounts/webauthn/assertion-options
Sourcefn post_prelogin<'a, 'life0, 'async_trait>(
&'life0 self,
prelogin_request_model: Option<PreloginRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PreloginResponseModel, Error<PostPreloginError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_prelogin<'a, 'life0, 'async_trait>(
&'life0 self,
prelogin_request_model: Option<PreloginRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PreloginResponseModel, Error<PostPreloginError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/prelogin
Sourcefn post_register_finish<'a, 'life0, 'async_trait>(
&'life0 self,
register_finish_request_model: Option<RegisterFinishRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<RegisterFinishResponseModel, Error<PostRegisterFinishError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_register_finish<'a, 'life0, 'async_trait>(
&'life0 self,
register_finish_request_model: Option<RegisterFinishRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<RegisterFinishResponseModel, Error<PostRegisterFinishError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/register/finish
Sourcefn post_register_send_verification_email<'a, 'life0, 'async_trait>(
&'life0 self,
register_send_verification_email_request_model: Option<RegisterSendVerificationEmailRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostRegisterSendVerificationEmailError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_register_send_verification_email<'a, 'life0, 'async_trait>(
&'life0 self,
register_send_verification_email_request_model: Option<RegisterSendVerificationEmailRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostRegisterSendVerificationEmailError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/register/send-verification-email
Sourcefn post_register_verification_email_clicked<'a, 'life0, 'async_trait>(
&'life0 self,
register_verification_email_clicked_request_model: Option<RegisterVerificationEmailClickedRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostRegisterVerificationEmailClickedError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_register_verification_email_clicked<'a, 'life0, 'async_trait>(
&'life0 self,
register_verification_email_clicked_request_model: Option<RegisterVerificationEmailClickedRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostRegisterVerificationEmailClickedError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/register/verification-email-clicked
Sourcefn post_trial_initiation_send_verification_email<'a, 'life0, 'async_trait>(
&'life0 self,
trial_send_verification_email_request_model: Option<TrialSendVerificationEmailRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostTrialInitiationSendVerificationEmailError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_trial_initiation_send_verification_email<'a, 'life0, 'async_trait>(
&'life0 self,
trial_send_verification_email_request_model: Option<TrialSendVerificationEmailRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostTrialInitiationSendVerificationEmailError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/trial/send-verification-email