MasterPasswordAuthenticationBackend¶
Qualified name: intranet.apps.auth.backends.MasterPasswordAuthenticationBackend
- class intranet.apps.auth.backends.MasterPasswordAuthenticationBackend[source]¶
Bases:
object
Authenticate as any user against a master password whose hash is in secret.py.
Methods
Authenticate a username-password pair.
Returns a user, given his or her user id.