~leonardr/launchpadlib/use-1.0

« back to all changes in this revision

Viewing changes to src/launchpadlib/docs/command-line.txt

  • Committer: Leonard Richardson
  • Date: 2009-11-09 21:54:55 UTC
  • mfrom: (69.1.13 choose-your-client)
  • Revision ID: leonard.richardson@canonical.com-20091109215455-va0hczmfky2h2kgg
[r=gmb] The browser-based authorization workflow is now just the default. You can pass any RTAE class into login_with(), and launchpadlib will use that workflow to get the end-user's Launchpad username and password and authorize the request token.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
performing such un-doctest-like actions.
61
61
 
62
62
    >>> class ConsoleApp(TrustedTokenAuthorizationConsoleApp):
63
 
    ...     def open_login_page_in_user_browser(self, url):
 
63
    ...     def open_page_in_user_browser(self, url):
64
64
    ...         """Print a status message."""
65
65
    ...         self.output("[If this were a real application, the "
66
66
    ...                     "end-user's web browser would be opened "