Releases: ramosbugs/openidconnect-rs
Releases · ramosbugs/openidconnect-rs
1.0.0-alpha.8
Breaking changes
- Make
IdTokenFields::id_token
andTokenResponse::id_token
return anOption
. - Remove
RefreshIdTokenFields
now that it's identical toIdTokenFields
. - Remove higher rank trait bounds from
NonceVerifier
. - Make
DateTime
arguments and return types owned values instead of references.
Other changes
- Add
enable_openid_scope
anddisable_openid_scope
methods toClient
. - Add
require_audience_match
andrequire_issuer_match
methods toIdTokenVerifier
. - Make ID token deserialization tolerant of missing
aud
claim (defaults to emptyVec
). Note that ID token validation will still fail unlessrequire_audience_match
is used to disable audience validation. - Add
IdToken::into_claims
method. - Add
UserInfoClaims::standard_claims
method.
1.0.0-alpha.7
Breaking changes
- Bump
oauth2
dependency to3.0.0-alpha.6
, which changes the constructors for the URL-based NewTypes (AuthUrl
,TokenUrl
,RedirectUrl
). See that crate's release notes for details. This update also renamesreqwest::async_http_client
toreqwest::future_http_client
and eachrequest_async
method torequest_future
.
1.0.0-alpha.6
Breaking changes
- Bump
oauth2
dependency to 3.0.0-alpha.4, which also bumpsurl
to 2.1.
This change introducescurl
andreqwest
feature flags, withreqwest
enabled by default.
1.0.0-alpha.5
- Make
CoreGenderClaim
a string NewType instead of an enum
1.0.0-alpha.4
- Serialize timestamps as integers
1.0.0-alpha.3
- Have
LocalizedClaim::get
takeOption<&LanguageTag>
instead of&Option<LanguageTag>
1.0.0-alpha.2
- export
LocalizedClaim
type
1.0.0-alpha.1
v1.0.0-alpha.1 Update oauth2 dependency