Warning: This is the development version. The latest stable version is Version v3.8.1.
15.2.1.2.23. Yubico Token
-
class privacyidea.lib.tokens.yubicotoken.YubicoTokenClass(db_token)[source]
Create a new token object.
- Parameters
db_token (Token) – A database token object
- Returns
A TokenClass object
-
check_otp(anOtpVal, counter=None, window=None, options=None)[source]
Here we contact the Yubico Cloud server to validate the OtpVal.
-
static get_class_info(key=None, ret='all')[source]
- Parameters
-
- Returns
subsection if key exists or user defined
- Return type
dict or string
-
static get_class_prefix()[source]
-
static get_class_type()[source]
-
update(param)[source]
Update the token object
- Parameters
param – a dictionary with different params like keysize,
description, genkey, otpkey, pin
- Type
param: dict