IPWorks Auth 2020 Python Edition

Questions / Feedback?

counter Property

The counter.

Syntax

def get_counter() -> int: ...
def set_counter(value: int) -> None: ...

counter = property(get_counter, set_counter)

Default Value

0

Remarks

This property specifies the counter.

If a counter is required this must be set before calling calculate_response and verify_response. To determine if a counter is required assign ocra_suite to the OCRA suite and check the value of require_counter.

The counter value should begin at 0 be incremented until the maximum value is reached. After the maximum is reached the counter value should start again at 0.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 Python Edition - Version 20.0 [Build 8155]