oauth2/google
Carl Lundin 5fd42413ed google: update compute token refresh
The shortest MDS token cache time is 4 minutes. The refresh window is updated
to 3 minutes and 45 seconds to give the MDS time to update it's cache.

This should make slow refreshes less likely to cause failures.

Done in https://github.com/googleapis/google-cloud-go/pull/9139 for the other auth library.

Change-Id: Ifa353248197d8998e6b0363d1f2821b45a0e6495
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/584815
Auto-Submit: Cody Oss <codyoss@google.com>
TryBot-Bypass: Cody Oss <codyoss@google.com>
Run-TryBot: Cody Oss <codyoss@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cody Oss <codyoss@google.com>
2024-05-10 21:31:51 +00:00
..
downscope google/externalaccount: add Config.UniverseDomain 2024-03-04 19:42:12 +00:00
externalaccount oauth2/google: fix the logic of sts 0 value of expires_in 2024-03-12 20:05:50 +00:00
internal google/externalaccount: moves externalaccount package out of internal and exports it 2024-02-27 21:55:11 +00:00
testdata/gcloud google: Use new endpoints for Google authentication 2019-02-26 19:11:47 +00:00
appengine.go appengine: drop obsolete code for AppEngine envs <=Go 1.11 2024-03-11 19:47:38 +00:00
default.go google: add Credentials.UniverseDomainProvider 2024-04-03 20:36:14 +00:00
default_test.go google: add Credentials.UniverseDomainProvider 2024-04-03 20:36:14 +00:00
doc.go google/externalaccount: moves externalaccount package out of internal and exports it 2024-02-27 21:55:11 +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: update compute token refresh 2024-05-10 21:31:51 +00:00
google_test.go google: add Credentials.GetUniverseDomain with GCE MDS support 2024-01-05 14:38:43 +00:00
jwt.go google: Wrap token sources in errWrappingTokenSource 2022-06-08 16:14:50 +00:00
jwt_test.go all: remove redundant type conversion 2022-09-09 00:33:41 +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