class documentation
class APOPCredentials:
Constructor: APOPCredentials(magic, username, digest)
Implements interfaces: twisted.cred.credentials.IUsernameHashedPassword
Credentials for use in APOP authentication.
Method | __init__ |
No summary |
Method | check |
Validate a plaintext password against the credentials. |
Instance Variable | digest |
See __init__ |
Instance Variable | magic |
See __init__ |
Instance Variable | username |
See __init__ |
Parameters | |
magic:bytes | The challenge string used to encrypt the password. |
username:bytes | The username associated with these credentials. |
digest:bytes | An encrypted version of the user's password. Should be generated as an MD5 hash of the challenge string concatenated with the plaintext password. |