Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(1) | Call(0) | Derive(0) | Import(1)
src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/browser/membership/authentication.py Products.CMFDefault(Download)
from Products.CMFCore.CookieCrumbler import ATTEMPT_LOGIN from Products.CMFCore.CookieCrumbler import ATTEMPT_NONE from Products.CMFCore.interfaces import IActionsTool from Products.CMFCore.interfaces import ICookieCrumbler
raise self.context attempt = getattr(req, '_cookie_auth', ATTEMPT_NONE) if attempt not in (ATTEMPT_NONE, ATTEMPT_LOGIN): # An authenticated user was denied access to something.