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
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 |
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.