• vadimsh@chromium.org's avatar
    Add support for externally provided refresh tokens. · 24daf9e9
    vadimsh@chromium.org authored
    OAuth token cache file (as implemented by oauth2client library) stores refresh
    token and can in theory be deployed via Puppet as the credential. But it is
    mutated by the library (to store access tokens, rotated each hour), and so it is
    not static and managing it via Puppet (or however else) is a big pain.
    
    Instead, now depot_tools accepts --auth-refresh-token-json parameter with a path
    to a static JSON file (with minimal body being {"refresh_token": "....."}). It
    can be used to pass previously prepared refresh tokens of role accounts. It
    will be used for blink DEPS roller account and similar @chromium.org accounts.
    
    R=maruel@chromium.org
    BUG=356813
    
    Review URL: https://codereview.chromium.org/1060193005
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294870 0039d316-1c4b-4281-b951-d872f2087c98
    24daf9e9
Name
Last commit
Last update
..
gstools Loading commit data...
subversion_config Loading commit data...
abandon.sh Loading commit data...
basic.sh Loading commit data...
breakpad_unittest.py Loading commit data...
checkout_test.py Loading commit data...
download_from_google_storage_unittests.py Loading commit data...
fix_encoding_test.py Loading commit data...
gcl_unittest.py Loading commit data...
gclient_scm_test.py Loading commit data...
gclient_smoketest.py Loading commit data...
gclient_test.py Loading commit data...
gclient_utils_test.py Loading commit data...
git_cl_test.py Loading commit data...
git_common_test.py Loading commit data...
git_footers_test.py Loading commit data...
git_number_test.py Loading commit data...
git_rebase_update_test.py Loading commit data...
gsutil_test.py Loading commit data...
hooks.sh Loading commit data...
owners.sh Loading commit data...
owners_finder_test.py Loading commit data...
owners_unittest.py Loading commit data...
patch.sh Loading commit data...
patch_test.py Loading commit data...
post-dcommit-hook-test.sh Loading commit data...
presubmit_unittest.py Loading commit data...
push-basic.sh Loading commit data...
push-from-logs.sh Loading commit data...
rename.sh Loading commit data...
rietveld_test.py Loading commit data...
sample_pre_commit_hook Loading commit data...
save-description-on-failure.sh Loading commit data...
scm_unittest.py Loading commit data...
submit-from-new-dir.sh Loading commit data...
submodule-merge-test.sh Loading commit data...
subprocess2_test.py Loading commit data...
test-lib.sh Loading commit data...
trychange_unittest.py Loading commit data...
upload-local-tracking-branch.sh Loading commit data...
upload-stale.sh Loading commit data...
upload_to_google_storage_unittests.py Loading commit data...
upstream.sh Loading commit data...
watchlists_unittest.py Loading commit data...