t.c.c.IPluggableAuthenticationModules(ICredentials) : interface documentation

Part of twisted.cred.credentials View Source View In Hierarchy

Known implementations: twisted.cred.credentials.PluggableAuthenticationModules

I encapsulate the authentication of a user via PAM (Pluggable Authentication Modules. I use PyPAM (available from http://www.tummy.com/Software/PyPam/index.html).
Instance VariablesusernameThe username for the user being logged in.
pamConversionA function that is called with a list of tuples (message, messageType). See the PAM documentation for the meaning of messageType. The function returns a Deferred which will fire with a list of (response, 0), one for each message. The 0 is currently unused, but is required by the PAM library.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:12:41.