l.s.w.login : module documentation

Part of lp.services.webapp

Stuff to do with logging in and logging out.
Class UnauthorizedView No class docstring; 1/2 methods documented
Class BasicLoginPage No class docstring; 1/2 methods documented
Function register_basiclogin Undocumented
Class OpenIDLogin A view which initiates the OpenID handshake with our provider.
Class OpenIDCallbackView The OpenID callback page for logging into Launchpad.
Class OpenIDLoginErrorView Undocumented
Class AlreadyLoggedInView Undocumented
Function isFreshLogin Return True if the principal login happened in the last 120 seconds.
Function require_fresh_login Redirect request to login if the request is not recently logged in.
Function logInPrincipal Log the principal in. Password validation must be done in callsites.
Function expireSessionCookie Undocumented
Function allowUnauthenticatedSession Undocumented
Function logoutPerson Log the user out.
Class CookieLogoutPage Undocumented
Class FeedsUnauthorizedView All users of feeds are anonymous, so don't redirect to login.
def register_basiclogin(event):
Undocumented
def isFreshLogin(request):
Return True if the principal login happened in the last 120 seconds.
def require_fresh_login(request, context, view_name):
Redirect request to login if the request is not recently logged in.
def logInPrincipal(request, principal, email, when=None):
Log the principal in. Password validation must be done in callsites.
def expireSessionCookie(request, client_id_manager=None, delta=timedelta(10)):
Undocumented
def allowUnauthenticatedSession(request, duration=timedelta(10)):
Undocumented
def logoutPerson(request):
Log the user out.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.