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.credentials.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)
API Documentation for Twisted, generated by pydoctor at 2016-10-29 16:19:29.