totp¶
TOTP multi-factor adapter.
This adapter accepts TOTPs from authenticator apps.
The user is required to have an mfaSecret string attribute.
Source code: totp
Package Contents¶
- class totp.Config¶
Bases:
gws.base.auth.mfa.ConfigTOTP multi-factor authenticator configuration.
- class totp.Object¶
Bases:
gws.base.auth.mfa.Object- key_uri(secret, issuer_name, account_name)¶
- start(user)¶
- verify(mfa, payload)¶