🔐 Small OAuth crate that follows the sans-io approach 🦀
IdTokenProvider
) and implemented for all current token providers so both access tokens and id tokens can be fetched.is_*_provider
methods to TokenProviderWrapper
for asserting the inner type.RequestReason::ScopesChanged
was renamed to RequestReason::ParametersChanged
CachedTokenProvider
on TokenProviderWrapper
so that it wraps the outer type instead of the inner, that way the uncached provider can be accessed via .inner()
.get_account_info
to the outer ServiceAccountProvider
implementation. It was accidentally removed in #51.ServiceAccountProvider
into a public type, and added a cached token provider that can wrap any other token provider. This wrapper now wrapps all the current gcp token providers, making them cached by default.chrono
as it was overkill and brought in multiple security advisories and is only lightly maintained.Metadata Server Auth
so that you can obtain oauth tokens when running inside GCP. Thanks @boulos!EndUserCredentials
. Thanks @boulos!