mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
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>
10 lines
167 B
Modula-2
10 lines
167 B
Modula-2
module golang.org/x/oauth2
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
cloud.google.com/go v0.65.0
|
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
|
|
google.golang.org/appengine v1.6.6
|
|
)
|