Function check_authentication_password

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

Checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword

ยงArguments

  • password - The 2-step verification password to check
  • client_id - The client id to send the request to