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

Issue 9998043: code review 9998043: oauth/appengine: add service account helpers

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by proppy
Modified:
12 years, 6 months ago
Reviewers:
adg
CC:
golang-dev, adg
Visibility:
Public.

Description

appengine: add service account helpers

Patch Set 1 #

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

Total comments: 8

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

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

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

Total comments: 14

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

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

Patch Set 8 : diff -r 917d06da3b2b https://code.google.com/p/goauth2 #

Total comments: 3

Patch Set 9 : diff -r 917d06da3b2b https://code.google.com/p/goauth2 #

Total comments: 4

Patch Set 10 : diff -r 917d06da3b2b https://code.google.com/p/goauth2 #

Total comments: 8

Patch Set 11 : diff -r 917d06da3b2b https://code.google.com/p/goauth2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -0 lines) Patch
A appengine/serviceaccount/cache.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +42 lines, -0 lines 0 comments Download
A appengine/serviceaccount/serviceaccount.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +133 lines, -0 lines 0 comments Download

Messages

Total messages: 33
proppy
Hello golang-dev@googlegroups.com (cc: adg@golang.org), I'd like you to review this change to https://code.google.com/p/goauth2
12 years, 7 months ago (2013-06-04 06:35:14 UTC) #1
adg
https://codereview.appspot.com/9998043/diff/2001/oauth/appengine/serviceaccount.go File oauth/appengine/serviceaccount.go (right): https://codereview.appspot.com/9998043/diff/2001/oauth/appengine/serviceaccount.go#newcode47 oauth/appengine/serviceaccount.go:47: func GetAccessToken(c appengine.Context, scopes ...string) (string, error) { s/Get// ...
12 years, 7 months ago (2013-06-05 06:46:59 UTC) #2
adg
https://codereview.appspot.com/9998043/diff/2001/oauth/appengine/serviceaccount.go File oauth/appengine/serviceaccount.go (right): https://codereview.appspot.com/9998043/diff/2001/oauth/appengine/serviceaccount.go#newcode17 oauth/appengine/serviceaccount.go:17: // client, err := serviceaccount.NewClient(c, "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/bigquery") check the ...
12 years, 7 months ago (2013-06-05 06:47:59 UTC) #3
proppy
https://codereview.appspot.com/9998043/diff/2001/oauth/appengine/serviceaccount.go File oauth/appengine/serviceaccount.go (right): https://codereview.appspot.com/9998043/diff/2001/oauth/appengine/serviceaccount.go#newcode17 oauth/appengine/serviceaccount.go:17: // client, err := serviceaccount.NewClient(c, "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/bigquery") On 2013/06/05 ...
12 years, 7 months ago (2013-06-05 10:01:00 UTC) #4
adg
https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/cache.go File oauth/appengine/serviceaccount/cache.go (right): https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/cache.go#newcode25 oauth/appengine/serviceaccount/cache.go:25: const KeyPrefix = "goauth2_appengine_serviceaccount_cache_" If you require the user ...
12 years, 7 months ago (2013-06-06 00:35:54 UTC) #5
proppy
PTAL https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/cache.go File oauth/appengine/serviceaccount/cache.go (right): https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/cache.go#newcode25 oauth/appengine/serviceaccount/cache.go:25: const KeyPrefix = "goauth2_appengine_serviceaccount_cache_" On 2013/06/06 00:35:54, adg ...
12 years, 7 months ago (2013-06-06 14:58:10 UTC) #6
adg
https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/serviceaccount.go File oauth/appengine/serviceaccount/serviceaccount.go (right): https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/serviceaccount.go#newcode81 oauth/appengine/serviceaccount/serviceaccount.go:81: type Transport struct { On 2013/06/06 14:58:10, proppy wrote: ...
12 years, 7 months ago (2013-06-06 23:26:17 UTC) #7
proppy
On 2013/06/06 23:26:17, adg wrote: > https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/serviceaccount.go > File oauth/appengine/serviceaccount/serviceaccount.go (right): > > https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/serviceaccount.go#newcode81 > ...
12 years, 7 months ago (2013-06-07 00:29:41 UTC) #8
proppy
On 2013/06/07 00:29:41, proppy wrote: > On 2013/06/06 23:26:17, adg wrote: > > > https://codereview.appspot.com/9998043/diff/13001/oauth/appengine/serviceaccount/serviceaccount.go ...
12 years, 7 months ago (2013-06-10 23:48:09 UTC) #9
adg
Looking good, but can you put this in the root/appengine/serviceaccount directory (ie move it one ...
12 years, 7 months ago (2013-06-18 03:54:20 UTC) #10
proppy
On 2013/06/18 03:54:20, adg wrote: > Looking good, but can you put this in the ...
12 years, 6 months ago (2013-06-18 21:59:49 UTC) #11
adg
On 19 June 2013 07:59, <proppy@google.com> wrote: > Given that the jwt/ stuff is also ...
12 years, 6 months ago (2013-06-18 22:03:28 UTC) #12
proppy
On 2013/06/18 22:03:28, adg wrote: > On 19 June 2013 07:59, <mailto:proppy@google.com> wrote: > > ...
12 years, 6 months ago (2013-06-18 22:32:03 UTC) #13
adg
https://codereview.appspot.com/9998043/diff/34001/appengine/serviceaccount/serviceaccount.go File appengine/serviceaccount/serviceaccount.go (right): https://codereview.appspot.com/9998043/diff/34001/appengine/serviceaccount/serviceaccount.go#newcode26 appengine/serviceaccount/serviceaccount.go:26: // transport := &serviceaccount.Transport{ I think it might be ...
12 years, 6 months ago (2013-06-19 03:32:47 UTC) #14
proppy
https://codereview.appspot.com/9998043/diff/34001/appengine/serviceaccount/serviceaccount.go File appengine/serviceaccount/serviceaccount.go (right): https://codereview.appspot.com/9998043/diff/34001/appengine/serviceaccount/serviceaccount.go#newcode26 appengine/serviceaccount/serviceaccount.go:26: // transport := &serviceaccount.Transport{ On 2013/06/19 03:32:47, adg wrote: ...
12 years, 6 months ago (2013-06-19 18:13:12 UTC) #15
iant
R=adg
12 years, 6 months ago (2013-06-19 21:27:46 UTC) #16
proppy
On 2013/06/19 18:13:12, proppy wrote: > https://codereview.appspot.com/9998043/diff/34001/appengine/serviceaccount/serviceaccount.go > File appengine/serviceaccount/serviceaccount.go (right): > > https://codereview.appspot.com/9998043/diff/34001/appengine/serviceaccount/serviceaccount.go#newcode26 > ...
12 years, 6 months ago (2013-06-19 23:46:55 UTC) #17
adg
https://codereview.appspot.com/9998043/diff/34001/appengine/serviceaccount/serviceaccount.go File appengine/serviceaccount/serviceaccount.go (right): https://codereview.appspot.com/9998043/diff/34001/appengine/serviceaccount/serviceaccount.go#newcode26 appengine/serviceaccount/serviceaccount.go:26: // transport := &serviceaccount.Transport{ On 2013/06/19 18:13:12, proppy wrote: ...
12 years, 6 months ago (2013-06-24 03:59:55 UTC) #18
proppy
You might want to also add googleapi.transport.ApiKey but I agree you can always stack them ...
12 years, 6 months ago (2013-06-24 04:39:33 UTC) #19
adg
What I want is the simplest possible API that is useful. It doesn't need to ...
12 years, 6 months ago (2013-06-24 04:41:08 UTC) #20
proppy
I agree, this is specific enough (oauth+appengine+serviceaccount) I think nobody needs the flexibility of overriding ...
12 years, 6 months ago (2013-06-24 04:46:45 UTC) #21
proppy
Do you also want to hide other field like, Context, Scopes, and TokenCache? Should the ...
12 years, 6 months ago (2013-06-25 00:51:45 UTC) #22
adg
On 2013/06/25 00:51:45, proppy wrote: > Do you also want to hide other field like, ...
12 years, 6 months ago (2013-06-25 04:09:22 UTC) #23
proppy
On 2013/06/25 04:09:22, adg wrote: > On 2013/06/25 00:51:45, proppy wrote: > > Do you ...
12 years, 6 months ago (2013-06-25 17:24:19 UTC) #24
proppy
On 2013/06/25 17:24:19, proppy wrote: > On 2013/06/25 04:09:22, adg wrote: > > On 2013/06/25 ...
12 years, 6 months ago (2013-06-25 17:56:46 UTC) #25
adg
https://codereview.appspot.com/9998043/diff/44001/appengine/serviceaccount/cache.go File appengine/serviceaccount/cache.go (right): https://codereview.appspot.com/9998043/diff/44001/appengine/serviceaccount/cache.go#newcode20 appengine/serviceaccount/cache.go:20: type Cache struct { and this? https://codereview.appspot.com/9998043/diff/44001/appengine/serviceaccount/serviceaccount.go File appengine/serviceaccount/serviceaccount.go ...
12 years, 6 months ago (2013-06-26 01:12:05 UTC) #26
proppy
PTAL https://codereview.appspot.com/9998043/diff/44001/appengine/serviceaccount/cache.go File appengine/serviceaccount/cache.go (right): https://codereview.appspot.com/9998043/diff/44001/appengine/serviceaccount/cache.go#newcode20 appengine/serviceaccount/cache.go:20: type Cache struct { On 2013/06/26 01:12:05, adg ...
12 years, 6 months ago (2013-06-26 01:21:42 UTC) #27
adg
https://codereview.appspot.com/9998043/diff/51002/appengine/serviceaccount/cache.go File appengine/serviceaccount/cache.go (right): https://codereview.appspot.com/9998043/diff/51002/appengine/serviceaccount/cache.go#newcode18 appengine/serviceaccount/cache.go:18: // A TokenCache implementation that use memcache to store ...
12 years, 6 months ago (2013-06-26 01:23:50 UTC) #28
proppy
PTAL https://codereview.appspot.com/9998043/diff/51002/appengine/serviceaccount/cache.go File appengine/serviceaccount/cache.go (right): https://codereview.appspot.com/9998043/diff/51002/appengine/serviceaccount/cache.go#newcode18 appengine/serviceaccount/cache.go:18: // A TokenCache implementation that use memcache to ...
12 years, 6 months ago (2013-06-26 01:33:15 UTC) #29
adg
Upload? On 26 June 2013 11:33, <proppy@google.com> wrote: > PTAL > > > > https://codereview.appspot.**com/9998043/diff/51002/** ...
12 years, 6 months ago (2013-06-26 01:38:03 UTC) #30
proppy
Done, sorry On Tue, Jun 25, 2013 at 6:37 PM, Andrew Gerrand <adg@golang.org> wrote: > ...
12 years, 6 months ago (2013-06-26 01:40:04 UTC) #31
adg
LGTM Thanks!
12 years, 6 months ago (2013-06-26 01:44:58 UTC) #32
adg
12 years, 6 months ago (2013-06-26 01:50:58 UTC) #33
*** Submitted as https://code.google.com/p/goauth2/source/detail?r=ecc4c1308422
***

appengine: add service account helpers

R=golang-dev, adg
CC=golang-dev
https://codereview.appspot.com/9998043

Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.

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