twisted.conch.checkers.UNIXPasswordDatabase class documentationtwisted.conch.checkers
(View In Hierarchy)
Implements interfaces: twisted.cred.checkers.ICredentialsChecker
A checker which validates users out of the UNIX password databases, or databases of a compatible format.
| Method | __init__ | Undocumented | 
| Method | requestAvatarId | Validate credentials and produce an avatar ID. | 
| Instance Variable | _getByNameFunctions | a listof functions which are called in order to valid a user.
The default value is such that the/etc/passwddatabase will 
be tried first, followed by the/etc/shadowdatabase. | 
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.
  Validate credentials and produce an avatar ID.
| Parameters | credentials | something which implements one of the interfaces in credentialInterfaces. | 
| Returns | a Deferredwhich will fire with abytesthat identifies an avatar, an empty tuple to specify an authenticated 
anonymous user (provided astwisted.cred.checkers.ANONYMOUS)
or fail withUnauthorizedLogin.
Alternatively, return the result itself. | |
| See Also | twisted.cred.credentials | |