Part of lp.services.verification.browser.logintoken View In Hierarchy
Known subclasses: lp.services.verification.browser.logintoken.BugTrackerHandshakeView, lp.services.verification.browser.logintoken.ClaimTeamView, lp.services.verification.browser.logintoken.MergePeopleView, lp.services.verification.browser.logintoken.ValidateEmailView, lp.services.verification.browser.logintoken.ValidateGPGKeyView
Method | next_url | The next URL to redirect to on successful form submission. |
Method | page_title | The page title. |
Method | redirectIfInvalidOrConsumedToken | If this is a consumed or invalid token redirect to the LoginToken |
Method | success | Indicate to the user that the token was successfully processed. |
Method | _cancel | Consume the LoginToken and set self._next_url_for_cancel. |
When the cancel action is used, self._next_url_for_cancel won't be None so we return that. Otherwise we return self.default_next_url.
An invalid token is a token used for a purpose it wasn't generated for (i.e. create a new account with a VALIDATEEMAIL token).