class UNIXPasswordDatabase: (source)
Implements interfaces: twisted.cred.checkers.ICredentialsChecker
Method | __init__ |
Undocumented |
Method | requestAvatarId |
Validate credentials and produce an avatar ID. |
Class Variable | credentialInterfaces |
A list of sub-interfaces of ICredentials which specifies which I may check. |
Instance Variable | _getByNameFunctions |
a list of functions which are called in order to valid a user. The default value is such that the /etc/passwd database will be tried first, followed by the /etc/shadow database. |
Parameters | |
credentials | something which implements one of the interfaces in credentialInterfaces. |
Returns | |
a Deferred which will fire with a bytes that identifies an avatar, an empty tuple to specify an authenticated anonymous user (provided as twisted.cred.checkers.ANONYMOUS ) or fail with UnauthorizedLogin . Alternatively, return the result itself. | |
See Also | |
twisted.cred.credentials |
ICredentials
which specifies which I may check.