6.1.1.3.1.5.1.10. linotp.lib.tokens.tagespassworttoken module¶
This file contains the dynamic tagespasswort token implementation: - TagespasswortTokenClass (DPW)
- class linotp.lib.tokens.tagespassworttoken.TagespasswortTokenClass(aToken)[source]¶
Bases: linotp.lib.tokenclass.TokenClass
The Tagespasswort is a one time password that is calculated based on the day input.
- 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.
- get_multi_otp(count=0, epoch_start=0, epoch_end=0, curTime=None)[source]¶
This returns a dictionary of multiple future OTP values of the Tagespasswort token
- parameter
- count - how many otp values should be returned epoch_start - time based tokens: start when epoch_end - time based tokens: stop when
- return
- True/False error text OTP dictionary