Chromium Code Reviews
Descriptionserver/auth: Add TokenSource call.
Add a call to return an oauth2 AsSelf TokenSource from the server/auth
package.
This allows the "server/auth" package to be used with Google API
clients. Specifying manual per-RPC credentials hits a problem with the
automagic setup detailed here:
https://github.com/google/google-api-go-client/issues/186
Consqeuently, gRPC service libraries (Cloud Datastore, BigTable, Pub/Sub,
etc.) require a TokenSource to be provided explicitly.
Also make all auth tests run in parallel :)
BUG=chromium:682465
TEST=None
Review-Url: https://codereview.chromium.org/2646543003
Committed: https://github.com/luci/luci-go/commit/50864029fbaf03ff86650dd64fdd7cfacc7d9a72
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 8 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||