t.m.m.DirdbmDatabase : class documentation

Part of twisted.mail.maildir View Source View In Hierarchy

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.
dirdbm =
An authentication database. (type: DirDBM)
def __init__(self, dbm): (source)
ParametersdbmAn authentication database. (type: DirDBM)
def requestAvatarId(self, c): (source)
Authenticate a user and, if successful, return their username.
ParameterscCredentials. (type: IUsernamePassword or IUsernameHashedPassword provider.)
ReturnsA string which identifies an user. (type: bytes)
RaisesUnauthorizedLoginWhen the credentials check fails.
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.