Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/pyramid_oauth2_provider-0.2/pyramid_oauth2_provider/__init__.py   pyramid_oauth2_provider(Download)
from .models import initialize_sql
from .interfaces import IAuthCheck
from .authentication import OauthAuthenticationPolicy
 
# imported to make the test runnner happy
 
    if not config.registry.queryUtility(IAuthenticationPolicy):
        config.set_authentication_policy(OauthAuthenticationPolicy())
 
    auth_check = settings.get('oauth2_provider.auth_checker')

src/p/y/pyramid_oauth2_provider-HEAD/pyramid_oauth2_provider/__init__.py   pyramid_oauth2_provider(Download)
from .models import initialize_sql
from .interfaces import IAuthCheck
from .authentication import OauthAuthenticationPolicy
 
# imported to make the test runnner happy
 
    if not config.registry.queryUtility(IAuthenticationPolicy):
        config.set_authentication_policy(OauthAuthenticationPolicy())
 
    auth_check = settings.get('oauth2_provider.auth_checker')