OAuth2 integration for Rocket applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.4KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.0-rc.1 - 2019-10-27

Added

  • Refresh tokens can be exchanged using OAuth2::refresh()

Changed

  • Restructured error handling in Adapters.
  • Removed the A type parameter from OAuth2.
  • TokenResponse is redesigned and no longer uses serde_derive. Fields have been converted to methods, and .as_value() replaces the functionality of .extras.
  • Provider is now a trait, allowing for dynamically determined Providers.
  • Adapter is now only responsible for conveying state in authorization_uri(); state is generated by the library itself.
  • Added (direct) dependencies on ‘ring’ (0.13) and ‘base64’ (0.10); removed ‘rand’ dependency

0.1.0 - 2019-10-01

Added

  • CHANGELOG.md.
  • Support for ‘Microsoft’ (v2.0) as a known Provider and an example.
  • A ‘scope’ can be specificied in the authorization callback as a fallback in case it is not present in the token response. This is the case with Strava, for example.
  • Types derive more of the traits in std, such as Clone and Debug.

Changed

  • Update ‘rand’ dependency to 0.7.
  • Update ‘url’ dependency to 2.1.

0.0.5 - 2018-12-06