is_hotp_password_valid Method
Validates a hash-based one-time password.
Syntax
def is_hotp_password_valid(key_secret: bytes, password_length: int, counter: int, password: str) -> bool: ...
Remarks
Use this method to validate a hash-based one-time password (HOTP) by using explicit HOTP parameters. For this method to work, no user details need to be provided in users collection.