oauth2/google
Ross Light d5040cddfc google: refactor JWT parsing code internally
The ADC code and the JWT-parsing function operate on the same data
format, but were using separate code paths, each of which was missing
things from the other.

While this presents no change in API surface, JWTConfigFromJSON now
strictly checks the "type" field in the JSON file before building a
config.

Change-Id: I2f593a16bf4591059fbf9002bccea06e41e5e161
Reviewed-on: https://go-review.googlesource.com/32678
Reviewed-by: Jaana Burcu Dogan <jbd@google.com>
2016-11-07 20:33:27 +00:00
..
testdata/gcloud oauth2/google: fix decode error in Cloud SDK config 2015-02-12 05:35:05 +00:00
appengine.go all: change copyright to 'Go Authors' 2015-10-22 04:14:42 +00:00
appengine_hook.go all: change copyright to 'Go Authors' 2015-10-22 04:14:42 +00:00
appenginevm_hook.go google: Re-enable AppEngineTokenSource to be used from Managed VMs. 2015-09-16 01:14:15 +00:00
default.go google: refactor JWT parsing code internally 2016-11-07 20:33:27 +00:00
example_test.go google: fix the build when appengine isn't present 2016-07-15 18:42:06 +00:00
google.go google: refactor JWT parsing code internally 2016-11-07 20:33:27 +00:00
google_test.go google: make JWTConfigFromJSON set TokenURL from the JSON's token_uri 2016-09-02 05:03:02 +00:00
jwt.go google: support key ID in JWTAccessTokenSourceFromJSON 2016-07-02 01:08:09 +00:00
jwt_test.go google: fix warnings from go vet 2016-07-19 16:36:24 +00:00
sdk.go all: change copyright to 'Go Authors' 2015-10-22 04:14:42 +00:00
sdk_test.go google: fix warnings from go vet 2016-07-19 16:36:24 +00:00