• vadimsh@chromium.org's avatar
    Add OAuth2 support for end users (i.e. 3-legged flow with the browser). · eed4df3d
    vadimsh@chromium.org authored
    This CL introduces new top level command for managing cached auth tokens:
      $ depot-tools-auth login codereview.chromium.org
      $ depot-tools-auth info codereview.chromium.org
      $ depot-tools-auth logout codereview.chromium.org
    
    All scripts that use rietveld.Rietveld internally should be able to use cached
    credentials created by 'depot-tools-auth' subcommand. Also 'depot-tools-auth'
    is the only way to run login flow. If some scripts stumbles over expired or
    revoked token, it dies with the error, asking user to run
    'depot-tools-auth login <hostname>'.
    
    Password login is still default. OAuth2 can be enabled by passing --oauth2 to
    all scripts.
    
    R=maruel@chromium.org
    BUG=356813
    
    Review URL: https://codereview.chromium.org/1074673002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294764 0039d316-1c4b-4281-b951-d872f2087c98
    eed4df3d
Name
Last commit
Last update
..
boto Loading commit data...
colorama Loading commit data...
coverage Loading commit data...
fancy_urllib Loading commit data...
google_api_python_client Loading commit data...
gsutil Loading commit data...
httplib2 Loading commit data...
logilab Loading commit data...
oauth2client Loading commit data...
pylint Loading commit data...
pymox Loading commit data...
repo Loading commit data...
retry_decorator Loading commit data...
simplejson Loading commit data...
six Loading commit data...
uritemplate Loading commit data...
__init__.py Loading commit data...
pylint.py Loading commit data...
upload.py Loading commit data...