|
Extract authentication options handling into a separate function.
It is done in preparation for switching to OAuth2 as default (and only)
authentication method. Having all auth options handled by the same code makes it
easier to gradually add OAuth2 support.
As part of this, some options that would no longer work with OAuth2 (and that
are not being used from anywhere now, as far as I can tell) are removed:
* Passing account password for authentication via command line.
* Overriding 'Host' header when making requests to Rietveld (won't work with
SSL anyway).
* --account_type option (seems to be ClientLogin specific).
R=maruel@chromium.org
BUG= 356813
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=294746
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+293 lines, -187 lines) |
Patch |
 |
M |
apply_issue.py
|
View
|
1
|
8 chunks |
+18 lines, -33 lines |
0 comments
|
Download
|
 |
A |
auth.py
|
View
|
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
 |
M |
commit_queue.py
|
View
|
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
gcl.py
|
View
|
1
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
git_cherry_pick_upload.py
|
View
|
|
3 chunks |
+20 lines, -15 lines |
0 comments
|
Download
|
 |
M |
git_cl.py
|
View
|
|
31 chunks |
+81 lines, -37 lines |
0 comments
|
Download
|
 |
M |
my_activity.py
|
View
|
|
4 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
my_reviews.py
|
View
|
|
5 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
presubmit_support.py
|
View
|
|
5 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
rietveld.py
|
View
|
|
1 chunk |
+3 lines, -20 lines |
0 comments
|
Download
|
 |
M |
tests/gcl_unittest.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/git_cl_test.py
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tests/presubmit_unittest.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/rietveld_test.py
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/upload.py
|
View
|
|
5 chunks |
+29 lines, -63 lines |
0 comments
|
Download
|
Total messages: 9 (3 generated)
|