class twisted.cred.credentials.DigestedCredentials: (source)
Implements interfaces: twisted.cred.credentials.IUsernameDigestHash, twisted.cred.credentials.IUsernameHashedPassword
Yet Another Simple HTTP Digest authentication scheme.
Method | __init__ | Undocumented |
Instance Variable | username | Undocumented |
Instance Variable | method | Undocumented |
Instance Variable | realm | Undocumented |
Instance Variable | fields | Undocumented |
Method | checkPassword | No summary |
Method | checkHash | Verify that the credentials represented by this object agree with the credentials represented by the H(A1) given in digestHash . |
Verify that the credentials represented by this object agree with the given plaintext password
by hashing password
in the same way the response hash represented by this object was generated and comparing the results.
Verify that the credentials represented by this object agree with the credentials represented by the H(A1) given in digestHash
.
Parameters | digestHash | A precomputed H(A1) value based on the username, realm, and password associate with this credentials object. |