t.c.c.DigestedCredentials(object) : class documentation

Part of twisted.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.
def __init__(self, username, method, realm, fields): (source)
Undocumented
def checkPassword(self, password): (source)
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.
def checkHash(self, digestHash): (source)
Verify that the credentials represented by this object agree with the credentials represented by the H(A1) given in digestHash.
ParametersdigestHashA precomputed H(A1) value based on the username, realm, and password associate with this credentials object.
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.