oauth2/google
Jaana Burcu Dogan 8cf58155e4 google: remove code duplication, note appenginevm case
Before AppEngine classic allowed "google.golang.org/appengine" imports,
we used to maintain two hook files to choose either from "appengine" or
"google.golang.org/appengine" namespaces. Now, both environments allow
importing from "google.golang.org/appengine". Therefore, there
is no need to set hooks in two separate files.

Also note that Flex prefers to use metadata server, so we still
need to be able to differentiate between these environments.

Change-Id: I7478ebdfa1b062d466aaf2aca938f93d42b4c58a
Reviewed-on: https://go-review.googlesource.com/37378
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-03-02 20:00:26 +00:00
..
testdata/gcloud oauth2/google: fix decode error in Cloud SDK config 2015-02-12 05:35:05 +00:00
appengine.go google: remove code duplication, note appenginevm case 2017-03-02 20:00:26 +00:00
appengine_hook.go google: remove code duplication, note appenginevm case 2017-03-02 20:00:26 +00:00
appengineflex_hook.go google: remove code duplication, note appenginevm case 2017-03-02 20:00:26 +00:00
default.go google: remove code duplication, note appenginevm case 2017-03-02 20:00:26 +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: add DefaultCredentials function 2016-11-30 17:46:31 +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 google: prefer os.Getenv("HOME") over os/user.Current() so as to avoid SEGV 2016-12-13 07:49:53 +00:00
sdk_test.go google: fix warnings from go vet 2016-07-19 16:36:24 +00:00