t.c.checkers : module documentation

Part of twisted.conch View Source

Provide ICredentialsChecker implementations to be used in Conch protocols.
Function verifyCryptedPassword Undocumented
Class UNIXPasswordDatabase A checker which validates users out of the UNIX password databases, or databases of a compatible format.
Class SSHPublicKeyDatabase Checker that authenticates SSH public keys, based on public keys listed in authorized_keys and authorized_keys2 files in user .ssh/ directories.
Class SSHProtocolChecker SSHProtocolChecker is a checker that requires multiple authentications to succeed. To add a checker, call my registerChecker method with the checker and the interface.
Function _pwdGetByName Look up a user in the /etc/passwd database using the pwd module. If the pwd module is not available, return None.
Function _shadowGetByName Look up a user in the /etc/shadow database using the spwd or shadow modules. If neither module is available, return None.
def verifyCryptedPassword(crypted, pw): (source)
Undocumented
def _pwdGetByName(username): (source)
Look up a user in the /etc/passwd database using the pwd module. If the pwd module is not available, return None.
Parametersusernamethe username of the user to return the passwd database information for.
def _shadowGetByName(username): (source)
Look up a user in the /etc/shadow database using the spwd or shadow modules. If neither module is available, return None.
Parametersusernamethe username of the user to return the shadow database information for.
API Documentation for Twisted, generated by pydoctor at 2012-06-04 17:20:01.