IPWorks Auth 2020 Python Edition

Questions / Feedback?

response_length Property

Defines the length of the response.

Syntax

def get_response_length() -> int: ...
def set_response_length(value: int) -> None: ...

response_length = property(get_response_length, set_response_length)

Default Value

6

Remarks

This property specifies the desired response length. Valid values are 4-10, and 0. Values 4-10 will result in a numeric value of that length. The value 0 indicates no truncation and the raw HMAC value is returned in the response

This may be set before calling create_challenge, when the ocra_suite is generated.

When ocra_suite is assigned this value is updated to reflect the options specified in the ocra_suite. When calling calculate_response the calculated response will be a value with this length.

The default value is 6.

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