ValidatePassword Method
Validates a Time-Based or HMAC-Based One Time Password.
Syntax
public boolean validatePassword();
Remarks
This method validates a Time-Based or HMAC-Based One Time Password. The PasswordAlgorithm property specifies which algorithm to use.
The following properties are applicable when calling ValidatePassword.
- Password (required)
- PasswordAlgorithm
- Secret (required)
- Counter (required for HMAC-Based One Time Password)
- TimeStep (applicable for Time-Based One Time Password)
The method will return True if the password is validated, False otherwise.