l.s.w.l.OpenIDCallbackView(OpenIDLogin) : class documentation

Part of lp.services.webapp.login View In Hierarchy

Known subclasses: lp.services.webapp.tests.test_login.FakeConsumerOpenIDCallbackView, lp.services.webapp.tests.test_login.StubbedOpenIDCallbackView

The OpenID callback page for logging into Launchpad.

This is the page the OpenID provider will send the user's browser to, after the user has authenticated on the provider.

Method initialize Undocumented
Method login Undocumented
Method sreg_response Undocumented
Method macaroon_response Undocumented
Method processPositiveAssertion Process an OpenID response containing a positive assertion.
Method render Undocumented
Method __call__ Undocumented
Method _gather_params Undocumented
Method _get_requested_url Undocumented
Method _getEmailAddressAndFullName Undocumented
Method _redirect Undocumented

Inherited from OpenIDLogin:

Method starting_url Undocumented
Method form_args Iterate over form args, yielding (key, value) tuples for them.
Method _getConsumer Undocumented
def _gather_params(self, request):
Undocumented
def _get_requested_url(self, request):
Undocumented
def initialize(self):
Undocumented
def login(self, person, when=None):
Undocumented
@cachedproperty
def sreg_response(self):
Undocumented
@cachedproperty
def macaroon_response(self):
Undocumented
def _getEmailAddressAndFullName(self):
Undocumented
def processPositiveAssertion(self):
Process an OpenID response containing a positive assertion.

We'll get the person and account with the given OpenID identifier (creating one if necessary), and then login using that account.

If the account is suspended, we stop and render an error page.

We also update the 'last_write' key in the session if we've done any DB writes, to ensure subsequent requests use the master DB and see the changes we just did.

def render(self):
Undocumented
def __call__(self):
Undocumented
def _redirect(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.