pub struct RegistrationClient { /* private fields */ }Expand description
Client for initializing a user account.
Implementations§
Source§impl RegistrationClient
impl RegistrationClient
Sourcepub async fn post_keys_for_jit_password_registration(
&self,
request: JitMasterPasswordRegistrationRequest,
) -> Result<JitMasterPasswordRegistrationResponse, RegistrationError>
pub async fn post_keys_for_jit_password_registration( &self, request: JitMasterPasswordRegistrationRequest, ) -> Result<JitMasterPasswordRegistrationResponse, RegistrationError>
Initializes a new cryptographic state for a user and posts it to the server; enrolls the user to master password unlock.
Source§impl RegistrationClient
impl RegistrationClient
Sourcepub async fn post_keys_for_key_connector_registration(
&self,
key_connector_url: String,
sso_org_identifier: String,
) -> Result<KeyConnectorRegistrationResult, RegistrationError>
pub async fn post_keys_for_key_connector_registration( &self, key_connector_url: String, sso_org_identifier: String, ) -> Result<KeyConnectorRegistrationResult, RegistrationError>
Initializes a new cryptographic state for a user and posts it to the server; enrolls the user to key connector unlock.
Source§impl RegistrationClient
impl RegistrationClient
Sourcepub async fn post_keys_for_tde_registration(
&self,
request: TdeRegistrationRequest,
) -> Result<TdeRegistrationResponse, RegistrationError>
pub async fn post_keys_for_tde_registration( &self, request: TdeRegistrationRequest, ) -> Result<TdeRegistrationResponse, RegistrationError>
Initializes a new cryptographic state for a user and posts it to the server; enrolls in admin password reset and finally enrolls the user to TDE unlock.
Source§impl RegistrationClient
impl RegistrationClient
Sourcepub async fn post_keys_for_user_password_registration(
&self,
request: UserMasterPasswordRegistrationRequest,
) -> Result<UserMasterPasswordRegistrationResponse, RegistrationError>
pub async fn post_keys_for_user_password_registration( &self, request: UserMasterPasswordRegistrationRequest, ) -> Result<UserMasterPasswordRegistrationResponse, RegistrationError>
Initializes new password-based cryptographic state for a user and posts the state to the server
Trait Implementations§
Source§impl Clone for RegistrationClient
impl Clone for RegistrationClient
Source§fn clone(&self) -> RegistrationClient
fn clone(&self) -> RegistrationClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegistrationClient
impl !RefUnwindSafe for RegistrationClient
impl Send for RegistrationClient
impl Sync for RegistrationClient
impl Unpin for RegistrationClient
impl UnsafeUnpin for RegistrationClient
impl !UnwindSafe for RegistrationClient
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more