t.c.c.UsernamePassword : class documentation

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

Known subclasses: twisted.mail.imap4.LOGINCredentials, twisted.mail.imap4.PLAINCredentials

Implements interfaces: twisted.cred.credentials.IUsernamePassword

Undocumented
Method __init__ Undocumented
Method checkPassword Validate these credentials against the correct password.
def __init__(self, username, password): (source)
Undocumented
def checkPassword(self, password): (source)
Validate these credentials against the correct password.
ParameterspasswordThe correct, plaintext password against which to check. (type: str )
ReturnsTrue if the credentials represented by this object match the given password, False if they do not, or a Deferred which will be called back with one of these values. (type: bool or Deferred )
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.