Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
The authorization manager authorizes a request by delegating
authorization to the ``IAuthorizationPlugin`` for the origin. If
authorization fails a ``pyramid.exceptions.Forbidden`` is raised.

src/f/t/ftw.bridge.proxy-1.1.1/ftw/bridge/proxy/views.py   ftw.bridge.proxy(Download)
from ftw.bridge.proxy import LOG
from ftw.bridge.proxy.interfaces import IAuthorizationManager
from ftw.bridge.proxy.interfaces import IClientManager
from ftw.bridge.proxy.interfaces import IProxy
from ftw.bridge.proxy.utils import protected

src/f/t/ftw.bridge.proxy-1.1.1/ftw/bridge/proxy/authorization.py   ftw.bridge.proxy(Download)
from ftw.bridge.proxy.interfaces import IAuthorizationManager
from ftw.bridge.proxy.interfaces import IAuthorizationPlugin
from ftw.bridge.proxy.interfaces import IClientManager
from pyramid.exceptions import Forbidden
from pyramid.interfaces import IRequest

src/f/t/ftw.bridge.proxy-1.1.1/ftw/bridge/proxy/tests/test_authorization.py   ftw.bridge.proxy(Download)
from ftw.bridge.proxy.authorization import AuthorizationManager
from ftw.bridge.proxy.authorization import DefaultAuthorizationPlugin
from ftw.bridge.proxy.interfaces import IAuthorizationManager
from ftw.bridge.proxy.interfaces import IAuthorizationPlugin
from ftw.bridge.proxy.interfaces import IClientManager