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

All Samples(3)  |  Call(0)  |  Derive(1)  |  Import(2)

src/s/e/server-syncstorage-HEAD/syncstorage/views/authentication.py   server-syncstorage(Download)
from zope.interface import implements
from pyramid.interfaces import IAuthenticationPolicy
from mozsvc.user import TokenServerAuthenticationPolicy
 
 
DEFAULT_EXPIRED_TOKEN_TIMEOUT = 60 * 60 * 2  # 2 hours, in seconds
 
 
class SyncStorageAuthenticationPolicy(TokenServerAuthenticationPolicy):

src/m/o/mozservices-HEAD/mozsvc/tests/test_user.py   mozservices(Download)
from mozsvc.secrets import DerivedSecrets
from mozsvc.user.permissivenoncecache import PermissiveNonceCache
from mozsvc.user import TokenServerAuthenticationPolicy
 
try: