twisted.web.guard.DigestCredentialFactory(object)
class documentationtwisted.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. |
Create the digest credential factory that this object wraps.
Generate the challenge for use in the WWW-Authenticate header
Parameters | request | The IRequest to
with access was denied and for the response to which this challenge is
being generated. |
Returns | The dict that can be used to generate a WWW-Authenticate
header. |
Create a twisted.cred.digest.DigestedCredentials
object
from the given response and request.
See Also | ICredentialFactory.decode |