/// Revokes one second factor from the enrolled second factors for an account.
Revokes one second factor from the enrolled second factors for an account.
Revokes one second factor from the enrolled second factors for an account .
pub async fn withdraw_mfa(
            &mut self,
            request: impl tonic::IntoRequest<super::WithdrawMfaRequest>,
        ) -> Result<tonic::Response<super::WithdrawMfaResponse>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.identitytoolkit.v2.AccountManagementService/WithdrawMfa",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn withdraw_mfa ( & mut self , request : impl tonic :: IntoRequest < super :: WithdrawMfaRequest > , ) -> Result < tonic :: Response < super :: WithdrawMfaResponse > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Revokes one second factor from the enrolled second factors for an account.
Revokes one second factor from the enrolled second factors for an account .
&mut self
request
impl tonic::IntoRequest<super::WithdrawMfaRequest>