pub fn set_two_factor_authentication_code(
    two_factor_authentication_code: String
) -> Result<(), LexActivatorError>
Expand description

Sets the two-factor authentication code for the user authentication.

§Arguments

  • two_factor_authentication_code - The 2FA code.

§Returns

Returns Ok(()) if the two_factor_authentication_code is set successfully, If an error occurs, an Err containing the LexActivatorErroris returned.