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):

Create the digest credential factory that this object wraps.

def getChallenge(self, request):

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):
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.