twisted.cred.credentials.UsernamePassword
class documentationtwisted.cred.credentials
View Source
(View In Hierarchy)
Known subclasses: twisted.mail.imap4.LOGINCredentials, twisted.mail.imap4.PLAINCredentials
Implements interfaces: twisted.cred.credentials.IUsernamePassword
Method | __init__ | Undocumented |
Method | checkPassword | Validate these credentials against the correct password. |
Validate these credentials against the correct password.
Parameters | password | The correct, plaintext password against which to check. (type: bytes ) |
Returns | True 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 ) |