class twisted.mail.maildir.DirdbmDatabase: (source)
Implements interfaces: twisted.cred.checkers.ICredentialsChecker
A credentials checker which authenticates users out of a DirDBM database.
| Instance Variable | dirdbm | An authentication database. |
| Class Variable | credentialInterfaces | A list of sub-interfaces of ICredentials which specifies which I may check. |
| Method | __init__ | |
| Method | requestAvatarId | Authenticate a user and, if successful, return their username. |
A list of sub-interfaces of ICredentials which specifies which I may check.
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. |