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

Issue 125940044: oauth2: export exchanger

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by jbd
Modified:
9 years, 9 months ago
Reviewers:
adg, bradfitz
Visibility:
Public.

Description

Allows users to exchange and refresh tokens without inializing a transport. config := oauth2.NewConfig(...) token, err: = config.Exchange(code) // ... // refresh token token, err := config.FetchToken(token)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M oauth2.go View 2 chunks +2 lines, -2 lines 0 comments Download
M oauth2_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
jbd
9 years, 9 months ago (2014-08-11 16:53:50 UTC) #1
jbd
We designed the package auto token refreshes are being made with oauth2.Transport. Therefore, all interfaces ...
9 years, 9 months ago (2014-08-11 17:41:33 UTC) #2
bradfitz
LGTM
9 years, 9 months ago (2014-08-11 19:29:53 UTC) #3
jbd
9 years, 9 months ago (2014-08-11 19:37:00 UTC) #4
On 2014/08/11 19:29:53, bradfitz wrote:
> LGTM

Submitted as 4c579cbd0d6d2b7377fc15d97e26c189cd7e694f.
Sign in to reply to this message.

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