2.0.0-alpha.3
Pre-release
Pre-release
Breaking Changes
- Raise minimum supported Rust version (MSRV) to 1.45
- Rename
set_redirect_url
toset_redirect_uri
(see #39 for context). - Upgrade
reqwest
to 0.11 and rename feature flag fromreqwest-010
toreqwest
. This upgradestokio
to 1.0. - Add
#[non_exhaustive]
attribute toAuthType
to support non-breaking additions in the future - Have
Client::user_info
fail fast with a newConfigurationError
enum when the relevant OAuth2 endpoint hasn't been configured from the OpenID Connect Discovery metadata. Previously, an error would not be returned until a call torequest
/request_async
.
New Features
-
Add support for OAuth 2.0 Token Revocation (RFC 7009).
Special thanks to @ximon18 for contributing this feature.
-
Add support for OAuth 2.0 Token Introspection (RFC 7662).
Special thanks to @jeroenvervaeke for contributing this feature to the
oauth2
crate and to @ximon18 for porting it to this crate.
Other Changes
- Add
extra_fields()
getter to StandardTokenIntrospectionResponse