twisted.mail.maildir.DirdbmDatabase
class documentationtwisted.mail.maildir
View Source
(View In Hierarchy)
Implements interfaces: twisted.cred.checkers.ICredentialsChecker
A credentials checker which authenticates users out of a DirDBM
database.
Instance Variable | dirdbm | An authentication database. (type: DirDBM ) |
Method | __init__ | |
Method | requestAvatarId | Authenticate a user and, if successful, return their username. |
Authenticate a user and, if successful, return their username.
Parameters | c | Credentials. (type: IUsernamePassword
or IUsernameHashedPassword
provider.) |
Returns | A string which identifies an user. (type: bytes ) | |
Raises | UnauthorizedLogin | When the credentials check fails. |