Skip to content

checkAuthenticationPassword

Function · TDLib 1.8.67 · d1085f9c

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

checkAuthenticationPassword(
  password: string
) → Ok

password

string

The 2-step verification password to check