oauth2/google
Chris Smith d0670ef3b1 google: Wrap token sources in errWrappingTokenSource
Introduce new AuthenticationError type returned by
errWrappingTokenSource.Token. The new error wrapper
exposes a boolean method Temporary, identifying the
underlying network error as retryable based on the
following status codes: 500, 503, 408, or 429.

Bump go.mod version to 1.15

refs: https://github.com/googleapis/google-api-go-client/issues/1445

Change-Id: I27c76cb0c71b918c25a640f40d0bd515b2e488fc
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/403846
Reviewed-by: Cody Oss <codyoss@google.com>
Reviewed-by: Tyler Bui-Palsulich <tbp@google.com>
2022-06-08 16:14:50 +00:00
..
downscope google/downscope: return body in error message 2021-08-19 19:09:43 +00:00
internal/externalaccount google/internal: Add AWS Session Token to Metadata Requests 2022-03-09 15:54:54 +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 all: go fmt ./... 2021-02-20 00:06:19 +00:00
appengine_gen2_flex.go all: go fmt ./... 2021-02-20 00:06:19 +00:00
default.go google: Wrap token sources in errWrappingTokenSource 2022-06-08 16:14:50 +00:00
doc.go all: gofmt 2022-04-11 21:57:20 +00:00
error.go google: Wrap token sources in errWrappingTokenSource 2022-06-08 16:14:50 +00:00
error_test.go google: Wrap token sources in errWrappingTokenSource 2022-06-08 16:14:50 +00:00
example_test.go google: Support scopes for ComputeTokenSource 2019-04-02 18:19:05 +00:00
google.go google/google: set JWT Audience in JWTConfigFromJSON() 2022-05-24 21:58:30 +00:00
google_test.go google/google: set JWT Audience in JWTConfigFromJSON() 2022-05-24 21:58:30 +00:00
jwt.go google: Wrap token sources in errWrappingTokenSource 2022-06-08 16:14:50 +00:00
jwt_test.go google: support scopes for JWT access token 2021-06-15 19:07:21 +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