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.
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 2017-09-23 19:45:03.