IPWorks Auth 2020 Python Edition

Questions / Feedback?

challenge_type Property

The challenge type.

Syntax

def get_challenge_type() -> int: ...
def set_challenge_type(value: int) -> None: ...

challenge_type = property(get_challenge_type, set_challenge_type)

Default Value

0

Remarks

This property defines the type of challenge created. Possible values are:

0 (ctRandom - default) A random challenge is created.
1 (ctSignature) A signature challenge is created by signing challenge_input.

When setting this property to 0 (ctRandom) and calling create_challenge the class will populate challenge with a randomly generated value.

When setting this property to 1 (ctSignature) and calling create_challenge the class creates a Hash-based Message Authentication Code (HMAC) value using the data specified in challenge_input and then populate challenge with the formatted result.

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