counter Property
The counter used for HMAC-Based One Time Password creation or validation.
Syntax
def get_counter() -> int: ... def set_counter(value: int) -> None: ...
counter = property(get_counter, set_counter)
Default Value
0
Remarks
This property holds the counter value used for HMAC-Based One Time Password creation or validation. This value must be specified before calling create_password or validate_password. The value should be incremented each time a password is created.
The default value is 0.