Part of twisted.mail.maildir View Source View In Hierarchy
DirDBM database.| Instance Variable | dirdbm | An authentication database. (type: DirDBM) |
| Method | __init__ | |
| Method | requestAvatarId | 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. |