t.p.c.UNIXChecker(object) : class documentation

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
def checkPwd(self, pwd, username, password): (source)
Undocumented
def checkSpwd(self, spwd, username, password): (source)
Undocumented
def requestAvatarId(self, credentials): (source)
Parameterscredentialssomething which implements one of the interfaces in self.credentialInterfaces.
Returnsa 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 Alsotwisted.cred.credentials
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.