twisted.cred.credentials.DigestedCredentials(object)
class documentationtwisted.cred.credentials
View Source
(View In Hierarchy)
Implements interfaces: twisted.cred.credentials.IUsernameDigestHash, twisted.cred.credentials.IUsernameHashedPassword
Yet Another Simple HTTP Digest authentication scheme.
Method | __init__ | 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. |