twisted.mail.pop3.APOPCredentials
class documentationtwisted.mail.pop3
View Source
(View In Hierarchy)
Implements interfaces: twisted.cred.credentials.IUsernamePassword
Credentials for use in APOP authentication.
Instance Variable | magic | See __init__ |
Instance Variable | username | See __init__ |
Instance Variable | digest | See __init__ |
Method | __init__ | |
Method | checkPassword | Validate a plaintext password against the credentials. |
Parameters | magic | The challenge string used to encrypt the password. (type: bytes ) |
username | The username associated with these credentials. (type: bytes ) | |
digest | An encrypted version of the user's password. Should be generated as an MD5
hash of the challenge string concatenated with the plaintext password. (type: bytes ) |