Struct googapis::google::cloud::identitytoolkit::v2::account_management_service_client::AccountManagementServiceClient [−][src]
pub struct AccountManagementServiceClient<T> { /* fields omitted */ }
Expand description
Account management for Identity Toolkit
Implementations
impl<T> AccountManagementServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> AccountManagementServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> AccountManagementServiceClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn finalize_mfa_enrollment(
&mut self,
request: impl IntoRequest<FinalizeMfaEnrollmentRequest>
) -> Result<Response<FinalizeMfaEnrollmentResponse>, Status>
pub async fn finalize_mfa_enrollment(
&mut self,
request: impl IntoRequest<FinalizeMfaEnrollmentRequest>
) -> Result<Response<FinalizeMfaEnrollmentResponse>, Status>
Finishes enrolling a second factor for the user.
pub async fn start_mfa_enrollment(
&mut self,
request: impl IntoRequest<StartMfaEnrollmentRequest>
) -> Result<Response<StartMfaEnrollmentResponse>, Status>
pub async fn start_mfa_enrollment(
&mut self,
request: impl IntoRequest<StartMfaEnrollmentRequest>
) -> Result<Response<StartMfaEnrollmentResponse>, Status>
Step one of the MFA enrollment process. In SMS case, this sends an SMS verification code to the user.
pub async fn withdraw_mfa(
&mut self,
request: impl IntoRequest<WithdrawMfaRequest>
) -> Result<Response<WithdrawMfaResponse>, Status>
pub async fn withdraw_mfa(
&mut self,
request: impl IntoRequest<WithdrawMfaRequest>
) -> Result<Response<WithdrawMfaResponse>, Status>
Revokes one second factor from the enrolled second factors for an account.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for AccountManagementServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for AccountManagementServiceClient<T> where
T: Send,
impl<T> Sync for AccountManagementServiceClient<T> where
T: Sync,
impl<T> Unpin for AccountManagementServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for AccountManagementServiceClient<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more