Releases: EmbarkStudios/tame-oauth
Releases · EmbarkStudios/tame-oauth
0.10.0
Release 0.9.6
Changed
- PR#67 upgraded
ring
from 0.16 -> 0.17.
Release 0.9.4
Changed
- PR#66 replaced
base64
withdata-encoding
.
Release 0.9.3
Fixed
- PR#65 Use url safe base64 when decoding jwt claims from id tokens.
Release 0.9.2
Fixed
- PR#63 Use correct base64 padding when decoding jwt claims from id tokens.
Release 0.9.1
Added
- Support for id tokens, a new trait for this was added (
IdTokenProvider
) and implemented for all current token providers so both access tokens and id tokens can be fetched. - Added
is_*_provider
methods toTokenProviderWrapper
for asserting the inner type. - PR#61 added debug implementations for all the providers (excludes sensitive data in the output).
Changed
RequestReason::ScopesChanged
was renamed toRequestReason::ParametersChanged
- PR#59 update outdated base64 dependency
- Moved the placement of the
CachedTokenProvider
onTokenProviderWrapper
so that it wraps the outer type instead of the inner, that way the uncached provider can be accessed via.inner()
.
Fixed
- PR#57 Documentation improvements
Release 0.8.1
Release 0.8.0
Changed
- PR#51 moved the token cache out of
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. - PR#53 changed the cache lock from a Mutex into a RwLock.
Release 0.7.0
Changed
- PR#47 removed the dependency upon
chrono
as it was overkill and brought in multiple security advisories and is only lightly maintained.
Release 0.6.0
Added
- PR#40 added support for
Metadata Server Auth
so that you can obtain oauth tokens when running inside GCP. Thanks @boulos! - PR#42 resolved #39 by adding support for the same default credentials flow as the the Go oauth2 implementation for Google oauth. This included adding support for
EndUserCredentials
. Thanks @boulos!