Releases: EmbarkStudios/tame-oauth
Releases · EmbarkStudios/tame-oauth
0.10.0
Release 0.9.6
Changed
- PR#67 upgraded
ringfrom 0.16 -> 0.17.
Release 0.9.4
Changed
- PR#66 replaced
base64withdata-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_*_providermethods toTokenProviderWrapperfor asserting the inner type. - PR#61 added debug implementations for all the providers (excludes sensitive data in the output).
Changed
RequestReason::ScopesChangedwas renamed toRequestReason::ParametersChanged- PR#59 update outdated base64 dependency
- Moved the placement of the
CachedTokenProvideronTokenProviderWrapperso 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
ServiceAccountProviderinto 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
chronoas 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 Authso 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!