Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(118)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 5420051: code review 5420051: oauth: Add a public method to renew tokens.

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by manugarg1
Modified:
14 years, 1 month ago
Reviewers:
adg
CC:
adg, golang-dev
Visibility:
Public.
oauth: Add a public method to renew tokens.

Patch Set 1 #

Patch Set 2 : diff -r 1d1bf184962b https://code.google.com/p/goauth2/ #

Patch Set 3 : diff -r 1d1bf184962b https://code.google.com/p/goauth2/ #

Total comments: 4

Patch Set 4 : diff -r 1d1bf184962b https://code.google.com/p/goauth2/ #

Total comments: 1

Patch Set 5 : diff -r 1d1bf184962b https://code.google.com/p/goauth2/ #

Created: 14 years, 1 month ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M oauth/oauth.go View 1 2 3 4 2 chunks +15 lines, -5 lines 0 comments Download
Total messages: 7
|
manugarg1
Hello adg@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/goauth2/
14 years, 1 month ago (2011年11月21日 11:10:38 UTC) #1
Hello adg@golang.org (cc: golang-dev@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/goauth2/ 
Sign in to reply to this message.
adg
http://codereview.appspot.com/5420051/diff/1003/oauth/oauth.go File oauth/oauth.go (right): http://codereview.appspot.com/5420051/diff/1003/oauth/oauth.go#newcode187 oauth/oauth.go:187: // RenewToken renews the Token using Refresh Token. Let's ...
14 years, 1 month ago (2011年11月21日 22:42:13 UTC) #2
http://codereview.appspot.com/5420051/diff/1003/oauth/oauth.go
File oauth/oauth.go (right):
http://codereview.appspot.com/5420051/diff/1003/oauth/oauth.go#newcode187
oauth/oauth.go:187: // RenewToken renews the Token using Refresh Token.
Let's just call this "Refresh" (like "Exchange").
// Refresh refreshes the Transport's AccessToken using its RefreshToken.
http://codereview.appspot.com/5420051/diff/1003/oauth/oauth.go#newcode188
oauth/oauth.go:188: // If the Token cannot be renewed a non-nil os.Error is
returned.
drop this line, it's obvious
http://codereview.appspot.com/5420051/diff/1003/oauth/oauth.go#newcode196
oauth/oauth.go:196: // Update the Token
drop this comment, it's obvious
http://codereview.appspot.com/5420051/diff/1003/oauth/oauth.go#newcode198
oauth/oauth.go:198: "grant_type":	{"refresh_token"},
please run gofmt on this file
Sign in to reply to this message.
manugarg1
Hello adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011年11月22日 02:35:43 UTC) #3
Hello adg@golang.org (cc: golang-dev@googlegroups.com),
Please take another look.
Sign in to reply to this message.
adg
Looking good. Sorry, I'm picky about language. http://codereview.appspot.com/5420051/diff/7001/oauth/oauth.go File oauth/oauth.go (right): http://codereview.appspot.com/5420051/diff/7001/oauth/oauth.go#newcode187 oauth/oauth.go:187: // Refresh ...
14 years, 1 month ago (2011年11月22日 03:07:11 UTC) #4
Looking good. Sorry, I'm picky about language.
http://codereview.appspot.com/5420051/diff/7001/oauth/oauth.go
File oauth/oauth.go (right):
http://codereview.appspot.com/5420051/diff/7001/oauth/oauth.go#newcode187
oauth/oauth.go:187: // Refresh renews the Token using Refresh Token.
Please use the language I provided:
// Refresh renews the Transport's AccessToken using its RefreshToken.
Sign in to reply to this message.
manugarg1
Hello adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011年11月22日 03:14:27 UTC) #5
Hello adg@golang.org (cc: golang-dev@googlegroups.com),
Please take another look.
Sign in to reply to this message.
adg
LGTM
14 years, 1 month ago (2011年11月22日 03:23:52 UTC) #6
LGTM
Sign in to reply to this message.
adg
*** Submitted as http://code.google.com/p/goauth2/source/detail?r=937479bfc9e1 *** oauth: Add a public method to renew tokens. R=adg CC=golang-dev ...
14 years, 1 month ago (2011年11月22日 03:27:35 UTC) #7
*** Submitted as http://code.google.com/p/goauth2/source/detail?r=937479bfc9e1
***
oauth: Add a public method to renew tokens.
R=adg
CC=golang-dev
http://codereview.appspot.com/5420051
Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.
|
Powered by Google App Engine
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /