class documentation

class DirdbmDatabase: (source)

Constructor: DirdbmDatabase(dbm)

Implements interfaces: twisted.cred.checkers.ICredentialsChecker

View In Hierarchy

A credentials checker which authenticates users out of a DirDBM database.

Method __init__ No summary
Method requestAvatarId Authenticate a user and, if successful, return their username.
Class Variable credentialInterfaces A list of sub-interfaces of ICredentials which specifies which I may check.
Instance Variable dirdbm An authentication database.
def __init__(self, dbm): (source)
Parameters
dbm:DirDBMAn authentication database.
def requestAvatarId(self, c): (source)

Authenticate a user and, if successful, return their username.

Parameters
c:IUsernamePassword or IUsernameHashedPassword provider.Credentials.
Returns
bytesA string which identifies an user.
Raises
UnauthorizedLoginWhen the credentials check fails.
credentialInterfaces = (source)

A list of sub-interfaces of ICredentials which specifies which I may check.

An authentication database.