class documentation
class CramMD5Credentials: (source)
Constructor: CramMD5Credentials(host)
Implements interfaces: twisted.cred.credentials.IUsernameHashedPassword
An encapsulation of some CramMD5 hashed credentials.
Method | __init__ |
Undocumented |
Method | check |
Validate these credentials against the correct password. |
Method | get |
Undocumented |
Method | more |
Undocumented |
Method | set |
Undocumented |
Instance Variable | challenge |
The challenge to be sent to the client. |
Instance Variable | host |
Undocumented |
Instance Variable | response |
The hashed response from the client. |
Instance Variable | username |
The username from the response from the client. |
Validate these credentials against the correct password.
Parameters | |
password:bytes | The correct, plaintext password against which to check. |
Returns | |
bool or Deferred | 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. |