Function check_authentication_password_recovery_code

Source
pub async fn check_authentication_password_recovery_code(
    recovery_code: String,
    client_id: i32,
) -> Result<(), Error>
Expand description

Checks whether a 2-step verification password recovery code sent to an email address is valid. Works only when the current authorization state is authorizationStateWaitPassword

ยงArguments

  • recovery_code - Recovery code to check
  • client_id - The client id to send the request to