oauth2/google
Brad Fitzpatrick a379e41d44 oauth2, oauth2/google: add, use ReuseTokenSource
Token caching is now done whenever you make a Client, and
ReuseTokenSource is exported from the oauth2 package and used by the
Google TokenSources (Compute and App Engine).

Token.Expired is now Token.Valid, and works on nil receivers.

Some other wording cleanups in the process.

All tests pass. App Engine should pass, but is untested.

Change-Id: Ibe1d2599ac3ccfe9b399b1672f74bb24cfc8d311
Reviewed-on: https://go-review.googlesource.com/2195
Reviewed-by: Burcu Dogan <jbd@google.com>
2014-12-30 22:27:30 +00:00
..
appengine.go oauth2: rewrite google package, fix the broken build 2014-12-16 06:20:58 +00:00
appenginevm.go oauth2: rewrite google package, fix the broken build 2014-12-16 06:20:58 +00:00
example_test.go oauth2, oauth2/google: add, use ReuseTokenSource 2014-12-30 22:27:30 +00:00
google.go oauth2, oauth2/google: add, use ReuseTokenSource 2014-12-30 22:27:30 +00:00
source_appengine.go oauth2, oauth2/google: add, use ReuseTokenSource 2014-12-30 22:27:30 +00:00