Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Issue 178130044: oauth2: Removing the inconsistent and duplicate features, better naming

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by jbd
Modified:
11 years, 1 month ago
Reviewers:
adg, adg1, bradfitz
Visibility:
Public.

Description

oauth2: Removing the inconsistent and duplicate features, better naming - Removed Flow, Flow is nothing but Options. - Renamed Cacher to Storer. - Removed the setter from the Transport. Store should do the initial set. Getter is not removed, because extra fields are available through Transport.Token.Extra() and it's not pleasant to implement a custom Storer to read such values. - Base RoundTripper option is removed, depend on the provided http.Client.

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -133 lines) Patch
M example_test.go View 5 chunks +5 lines, -5 lines 0 comments Download
M google/appengine.go View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M google/example_test.go View 1 2 3 4 7 chunks +12 lines, -12 lines 0 comments Download
M oauth2.go View 1 2 3 4 5 chunks +53 lines, -73 lines 0 comments Download
M oauth2_test.go View 1 2 3 9 chunks +32 lines, -27 lines 0 comments Download
M transport.go View 1 2 2 chunks +8 lines, -15 lines 0 comments Download

Messages

Total messages: 6
jbd
I haven't thought about how to better abstract the flows yet, but these are some ...
11 years, 1 month ago (2014-11-25 01:23:16 UTC) #1
bradfitz
https://codereview.appspot.com/178130044/diff/20001/oauth2.go File oauth2.go (right): https://codereview.appspot.com/178130044/diff/20001/oauth2.go#newcode26 oauth2.go:26: type Storer interface { If you name it Fooer, ...
11 years, 1 month ago (2014-11-25 01:41:18 UTC) #2
jbd
PTAL https://codereview.appspot.com/178130044/diff/20001/oauth2.go File oauth2.go (right): https://codereview.appspot.com/178130044/diff/20001/oauth2.go#newcode26 oauth2.go:26: type Storer interface { On 2014/11/25 01:41:17, bradfitz ...
11 years, 1 month ago (2014-11-25 03:08:42 UTC) #3
adg1
LGTM
11 years, 1 month ago (2014-11-25 05:43:24 UTC) #4
jbd
Updated the tests.
11 years, 1 month ago (2014-11-25 06:44:01 UTC) #5
jbd
11 years, 1 month ago (2014-11-25 22:51:19 UTC) #6
Submitted as b8463885646621ad3debe22376c60031788d9f5e.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b