Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`web`.`_auth`.`wrapper`.`UnauthorizedResource``

class documentation

`class UnauthorizedResource: (source)`

Constructor: `UnauthorizedResource(factories)`

Implements interfaces: `twisted.web.resource.IResource`

View In Hierarchy

Simple IResource to escape Resource dispatch

Method | `__init__` | Undocumented
Method | `getChildWithDefault` | Disable resource dispatch
Method | `putChild` | Put a child `IResource` implementor at the given path.
Method | `render` | Send www-authenticate headers to the client
Class Variable | `isLeaf` | Signal if this IResource implementor is a "leaf node" or not. If True, getChildWithDefault will not be called on this Resource.
Instance Variable | `_credentialFactories` | Undocumented

def __init__(self, factories): (source)

Undocumented

def getChildWithDefault(self, path, request): (source)
from `twisted.web.resource.IResource`

Disable resource dispatch

def putChild(self, path, child): (source)
from `twisted.web.resource.IResource`

Put a child `IResource` implementor at the given path.

Parameters
path | A single path component, to be interpreted relative to the path this resource is found at, at which to put the given child. For example, if resource A can be found at http://example.com/foo then a call like `A.putChild(b"bar", B)` will make resource B available at http://example.com/foo/bar. The path component is not URL-encoded -- pass `b'foo bar'` rather than `b'foo%20bar'`.
child | Undocumented

def render(self, request): (source)
from `twisted.web.resource.IResource`

Send www-authenticate headers to the client

isLeaf: `bool` = (source)
from `twisted.web.resource.IResource`

Signal if this IResource implementor is a "leaf node" or not. If True, getChildWithDefault will not be called on this Resource.

_credentialFactories = (source)

Undocumented