Function fusionauth_rust_client::apis::default_api::enable_two_factor_with_id
source · pub async fn enable_two_factor_with_id(
configuration: &Configuration,
user_id: &str,
two_factor_request: Option<TwoFactorRequest>
) -> Result<TwoFactorResponse, Error<EnableTwoFactorWithIdError>>
Expand description
Enable two-factor authentication for a user.