CheckAuthenticationPassword constructor

const CheckAuthenticationPassword({
  1. required String password,
})

CheckAuthenticationPassword (checkAuthenticationPassword) - TDLib function

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

  • password: The 2-step verification password to check.

Ok is returned on completion.

Implementation

const CheckAuthenticationPassword({
  required this.password,
});