Tags: ramosbugs/oauth2-rs
Tags
Replace `TokenResponse` generic with associated type This change slightly simplifies types throughout this crate by removing a generic type parameter in many places that already have a generic type representing a `TokenResponse`. BREAKING CHANGES: - Removes `TT` type parameter from `TokenResponse` and `TokenIntrospectionResponse` traits trait and adds a `TokenType` associated type to each trait. - Removes (now-redundant) `TT` type parameter from `Client` and each `*Response` type
Bump http to 1.0 and reqwest to 0.12 BREAKING CHANGES: This changes several exported types, including `HttpRequest` (`http::Request`) and `HttpResponse` (`http::Response`), as well as the `reqwest` client (`reqwest::Client` and `reqwest::blocking::Client`). Resolves #237.
Export device authorization flow types in top-level namespace Previously, some of the types were exported at the top level, and some were exported in the `devicecode` module, with no clear reason for the separation. With this change, all related types are exported at the top level, while the `devicecode` module continues to be exported for backward compatibility.
PreviousNext