Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
constructor - create a token object

:param aToken: instance of the orm db object
:type aToken:  orm object

src/l/i/LinOTP-2.6.1.1/linotp/lib/tokens/emailtoken.py   LinOTP(Download)
    def __init__(self, aToken):
        HmacTokenClass.__init__(self, aToken)
        self.setType(u"email")
        self.hKeyRequired = False
 

src/l/i/LinOTP-2.6.1.1/linotp/lib/tokens/smstoken.py   LinOTP(Download)
    def __init__(self, aToken):
        HmacTokenClass.__init__(self, aToken)
        self.setType(u"sms")
        self.hKeyRequired = False