t.w.g.DigestCredentialFactory(object) : class documentation

Part of twisted.web.guard View Source View In Hierarchy

Implements interfaces: twisted.web.iweb.ICredentialFactory

Wrapper for digest.DigestCredentialFactory that implements the ICredentialFactory interface.
Method __init__ Create the digest credential factory that this object wraps.
Method getChallenge Generate the challenge for use in the WWW-Authenticate header
Method decode Create a twisted.cred.digest.DigestedCredentials object from the given response and request.
def __init__(self, algorithm, authenticationRealm): (source)
Create the digest credential factory that this object wraps.
def getChallenge(self, request): (source)
Generate the challenge for use in the WWW-Authenticate header
ParametersrequestThe IRequest to with access was denied and for the response to which this challenge is being generated.
ReturnsThe dict that can be used to generate a WWW-Authenticate header.
def decode(self, response, request): (source)
Create a twisted.cred.digest.DigestedCredentials object from the given response and request.
See AlsoICredentialFactory.decode
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.