oauth2/google
Cody Oss 4abfd87339 google: add CredentialsParams.EarlyTokenRefresh
This option is a followup to to cl/479676 where an option was added
to configure the preemptive token refresh. Currently the option
in this package is only being used by compute credentials. In the
future we can support more/all auth flows but that would require
a lot of new surfaces to be added. Compute credentials are currently
the only case where we are expirencing the need to configure this
setting.

Change-Id: Ib78ca4beec44d0fe030ae81e84c8fcc4924793ba
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/479956
Run-TryBot: Cody Oss <codyoss@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
2023-03-29 20:00:17 +00:00
..
downscope google/downscope: return body in error message 2021-08-19 19:09:43 +00:00
internal/externalaccount google/internal/externalaccount: Removed URL validation for google URLs in ADC files 2023-02-17 18:48:36 +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: add CredentialsParams.EarlyTokenRefresh 2023-03-29 20:00:17 +00:00
doc.go google: Updating 3pi documentation 2023-03-22 21:13:33 +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: add CredentialsParams.EarlyTokenRefresh 2023-03-29 20:00:17 +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 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