The adapter class allows you to override various functionality of the allauth.mfa
app. To do so, point settings.MFA_ADAPTER
to your own class that derives from DefaultMFAAdapter
and override the behavior by altering the implementation of the methods according to your own needs.
Counter part of encrypt()
.
Secrets such as the TOTP key are stored in the database. This hook can be used to encrypt those so that they are not stored in the clear in the database.
The error messages that can occur as part of MFA form handling.
Generate a human friendly name for the key. Used to prefill the “Add key” form.
Returns the TOTP issuer name that will be contained in the TOTP QR code.
Returns the label used for representing the given user in a TOTP QR code.
Returns True
if (and only if) the user has 2FA enabled.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4