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

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

src/c/o/collective.googleauthenticator-0.2.4/src/collective/googleauthenticator/pas_plugin.py   collective.googleauthenticator(Download)
 
from collective.googleauthenticator.adapter import ICameFrom
from collective.googleauthenticator.helpers import sign_user_data, is_whitelisted_client
 
logger = logging.getLogger("collective.googleauthenticator")
 
            # Redirect to token thing...
            signed_url = sign_user_data(request=request, user=user, url='@@google-authenticator-token')
 
            came_from_adapter = ICameFrom(request)