1. 07 Jul, 2015 1 commit
  2. 22 Jun, 2015 1 commit
  3. 11 Jun, 2015 1 commit
  4. 08 Jun, 2015 1 commit
  5. 28 May, 2015 1 commit
  6. 04 May, 2015 1 commit
  7. 28 Apr, 2015 2 commits
  8. 20 Apr, 2015 1 commit
  9. 17 Apr, 2015 1 commit
    • 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
  10. 13 Apr, 2015 1 commit
  11. 10 Apr, 2015 1 commit
    • 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
  12. 09 Apr, 2015 2 commits
  13. 03 Mar, 2015 1 commit
  14. 26 Feb, 2015 1 commit
  15. 16 Feb, 2015 1 commit
  16. 26 Jan, 2015 1 commit
  17. 02 Dec, 2014 1 commit
  18. 22 Aug, 2014 2 commits
  19. 23 Jul, 2014 1 commit
  20. 07 Jul, 2014 2 commits
  21. 26 Jun, 2014 2 commits
  22. 11 Jun, 2014 1 commit
  23. 16 May, 2014 1 commit
  24. 15 May, 2014 1 commit
  25. 14 May, 2014 1 commit
  26. 01 May, 2014 1 commit
  27. 11 Apr, 2014 1 commit
  28. 04 Apr, 2014 1 commit
  29. 11 Mar, 2014 1 commit
  30. 11 Feb, 2014 2 commits
  31. 14 Jan, 2014 2 commits
  32. 03 Jan, 2014 1 commit
  33. 28 Nov, 2013 1 commit