linotp.tokens.pushtoken package¶
- class linotp.tokens.pushtoken.PushTokenPairingData(user_public_key, user_token_id, serial, user_login, gda)¶
Bases:
_PushTokenPairingData
holds all the information of a PushToken pairing response, namely user_public_key, user_token_id, serial, user_login, gda (generic device address)
- linotp.tokens.pushtoken.parse_and_verify_pushtoken_pairing_data(plaintext)¶
Parses the decrypted inner layer of a pairing response according to the PushToken Pairing data format
- Parameters
plaintext – The plaintext reveceived from the decryption of the outer pairing response layer
- Raises
ParameterError – If plaintext has a wrong format
ValueError – If signature check failed
- Returns
PushTokenPairingData
Submodules¶
- linotp.tokens.pushtoken.pushtoken module
PushTokenClass
PushTokenClass.challenge_janitor()
PushTokenClass.checkOtp()
PushTokenClass.createChallenge()
PushTokenClass.create_challenge_url()
PushTokenClass.getClassInfo()
PushTokenClass.getClassPrefix()
PushTokenClass.getClassType()
PushTokenClass.getInitDetail()
PushTokenClass.get_enrollment_status()
PushTokenClass.isActive()
PushTokenClass.pair()
PushTokenClass.statusValidationSuccess()
PushTokenClass.update()