14.2.1.2.23. Yubico Token

class privacyidea.lib.tokens.yubicotoken.YubicoTokenClass(db_token)[source]
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
  • key (string) – subsection identifier

  • ret (user defined) – default return value, if nothing is found

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