class documentation

class UnauthorizedResource: (source)

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)

Disable resource dispatch

def putChild(self, path, child): (source)

Put a child IResource implementor at the given path.

Parameters
path:bytesA 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.
childUndocumented
def render(self, request): (source)

Send www-authenticate headers to the client

isLeaf: bool = (source)

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

_credentialFactories = (source)

Undocumented