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 Variable username The username for the user being logged in.
Instance Variable pamConversion A 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.
username =
The username for the user being logged in.
pamConversion =
A 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 2015-05-24 20:04:00.