Class: OTP | Twisted-0.17.4/twisted/python/otp.py | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
An automatic version of the OTP-AuthenticatorUpdates the sequence and the keeps last approved password on success On the next authentication, the stored password is hashed and checked up against the one given by the user. If they match, the sequencecounter is decreased and the circle is closed. This object should be glued to each user Note: It does NOT reset the sequence when the combinations left approach zero, This has to be done manuelly by instancing a new object
|