Breaking changes
- Make
IdTokenFields::id_tokenandTokenResponse::id_tokenreturn anOption. - Remove
RefreshIdTokenFieldsnow that it's identical toIdTokenFields. - Remove higher rank trait bounds from
NonceVerifier. - Make
DateTimearguments and return types owned values instead of references.
Other changes
- Add
enable_openid_scopeanddisable_openid_scopemethods toClient. - Add
require_audience_matchandrequire_issuer_matchmethods toIdTokenVerifier. - Make ID token deserialization tolerant of missing
audclaim (defaults to emptyVec). Note that ID token validation will still fail unlessrequire_audience_matchis used to disable audience validation. - Add
IdToken::into_claimsmethod. - Add
UserInfoClaims::standard_claimsmethod.