linotp.lib.tokens.yubicotoken module

This file contains the Yubico token class

class linotp.lib.tokens.yubicotoken.YubicoTokenClass(aToken)[source]

Bases: linotp.lib.tokenclass.TokenClass

The Yubico Cloud token forwards an authentication request to the Yubico Cloud service.

checkOtp(anOtpVal, counter, window, options=None)[source]

Here we contact the Yubico Cloud server to validate the OtpVal.

classmethod getClassInfo(key=None, ret='all')[source]

getClassInfo - returns a subtree of the token definition

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:

s.o.

classmethod getClassPrefix()[source]
classmethod getClassType()[source]
resync(otp1, otp2, options=None)[source]

resync of yubico tokens - not supported!!

update(param)[source]