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):
ParametersdbmAn authentication database. (type: DirDBM)
def requestAvatarId(self, c):

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 2020-03-25 17:34:30.