oauth2/google
Cody Oss 8b1d76fa04 google: restore 1.11 compatibility
NewRequestWithContext requires 1.13. As this is just a convenience
we should try to retatin the 1.11 compatibility by using NewRequest
then calling WithContext instead.

Change-Id: I6208a92061b208a119fdf04fd561a3e4d22bc547
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/283535
Reviewed-by: Tyler Bui-Palsulich <tbp@google.com>
Trust: Tyler Bui-Palsulich <tbp@google.com>
Trust: Cody Oss <codyoss@google.com>
Run-TryBot: Tyler Bui-Palsulich <tbp@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
2021-01-13 16:05:01 +00:00
..
internal/externalaccount google: restore 1.11 compatibility 2021-01-13 16:05:01 +00:00
testdata/gcloud google: Use new endpoints for Google authentication 2019-02-26 19:11:47 +00:00
appengine.go all: use stdlib context instead of x/net/context 2018-11-01 16:01:52 +00:00
appengine_gen1.go appengine: use stdlib context instead of x/net/context 2018-11-02 00:39:13 +00:00
appengine_gen2_flex.go appengine: use stdlib context instead of x/net/context 2018-11-02 00:39:13 +00:00
default.go google: Support scopes for ComputeTokenSource 2019-04-02 18:19:05 +00:00
doc.go google: remove a useless build tag restriction 2018-11-05 16:49:09 +00:00
example_test.go google: Support scopes for ComputeTokenSource 2019-04-02 18:19:05 +00:00
google.go google: base account credentials with file-sourcing 2021-01-12 20:04:29 +00:00
google_test.go google: Use new endpoints for Google authentication 2019-02-26 19:11:47 +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: use stdlib context instead of x/net/context 2018-11-01 16:01:52 +00:00
sdk_test.go internal: move ParseINI into google 2018-01-02 15:01:02 +00:00