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.
def __init__(self, username, method, realm, fields): (source)
Undocumented
username =
Undocumented
method =
Undocumented
realm =
Undocumented
fields =
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 2020-03-20 23:54:06.