Part of twisted.plugins.cred_unix View Source View In Hierarchy
Implements interfaces: twisted.cred.checkers.ICredentialsChecker
A credentials checker for a UNIX server. This will check that an authenticating username/password is a valid user on the system.
Does not work on Windows.
Right now this supports Python's pwd and spwd modules, if they are installed. It does not support PAM.Method | checkPwd | Undocumented |
Method | checkSpwd | Undocumented |
Method | requestAvatarId |
Parameters | credentials | something which implements one of the interfaces in self.credentialInterfaces. |
Returns | a Deferred which will fire a string which identifies an avatar, an empty tuple to specify an authenticated anonymous user (provided as checkers.ANONYMOUS) or fire a Failure(UnauthorizedLogin). Alternatively, return the result itself. | |
See Also | twisted.cred.credentials
|