Class t.w.a.w.UnauthorizedResource(resource.LeafResource):

Part of twisted.web2.auth.wrapper View Source View In Hierarchy

Returned by locateChild or render to generate an http Unauthorized response.
Method __init__
Method render Subclasses should implement this method to do page rendering.

Inherited from LeafResource:

Method locateChild Locate another object which can be adapted to IResource.

Inherited from RenderMixin (via LeafResource):

Method allowedMethods
Method checkPreconditions Checks all preconditions imposed by this resource upon a request made
Method renderHTTP See iweb.IResource.renderHTTP.
Method http_OPTIONS Respond to a OPTIONS request.
Method http_TRACE Respond to a TRACE request.
Method http_HEAD Respond to a HEAD request.
Method http_GET Respond to a GET request.
def __init__(self, factories): (source)
Parametersfactoriessequence of ICredentialFactory implementations for which to generate a WWW-Authenticate header.
def render(self, req): (source)
Subclasses should implement this method to do page rendering. See http_GET.
Parametersrequestthe request to process.
Returnsan object adaptable to iweb.IResponse.
API Documentation for twisted, generated by pydoctor.