t.w.a.d.DigestedCredentials : class documentation

Part of twisted.web2.auth.digest View Source View In Hierarchy

Implements interfaces: twisted.cred.credentials.IUsernameHashedPassword, twisted.web2.auth.digest.IUsernameDigestHash

Yet Another Simple HTTP Digest authentication scheme
Method __init__ Undocumented
Method checkPassword Validate these credentials against the correct password.
Method checkHash
def __init__(self, username, method, realm, fields): (source)
Undocumented
def checkPassword(self, password): (source)
Validate these credentials against the correct password.
ParameterspasswordThe correct, plaintext password against which to check.
Returnsa deferred which becomes, or a boolean indicating if the password matches.
def checkHash(self, digestHash): (source)
ParametersdigestHashThe hashed username:realm:password to check against.
Returnsa deferred which becomes, or a boolean indicating if the hash matches.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:02:37.