Implements interfaces: twisted.web.iweb.ICredentialFactory

Wrapper for digest.DigestCredentialFactory that implements the ICredentialFactory interface.

Class Variable scheme Undocumented
Method __init__ Create the digest credential factory that this object wraps.
Instance Variable digest Undocumented
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.
scheme =
Undocumented
(type: str)
def __init__(self, algorithm, authenticationRealm): (source)

Create the digest credential factory that this object wraps.

digest =
Undocumented
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 2020-03-20 23:54:06.