github descope/python-sdk 0.9.1

latest releases: 1.6.9, 1.6.8, 1.6.7...
20 months ago

Breaking changes

  • 🚨 Session and Refresh token split 🚨: Session validation and refresh have been split in order to allow more control over session management.
    3 new functions have been added with a more predictable and straightforward behavior; the new functions have no optional parameters.
* `validate_session` - only validates the session.
* `refresh_session` - refreshes a session.
* `validate_and_refresh_session` - combines the two, validate and refresh as needed.

These function replace the following which have been removed:

* `validate_session_request` - replaced by `validate_and_refresh_session` with the change of requiring both tokens, and the two new functions added for more granular control.
* `refresh_token`: replaced by `refresh_session`, behavior remains with more consistent naming and input validation.

Enhancements

  • Documentation enhancements: Additional explanations were added to our SDK's README.
  • Rate limiting: In order to maintain our stable performance, and provide a good experience to all of our customers, we added SDK and API rate limits. You can read more in our documentation.

Don't miss a new python-sdk release

NewReleases is sending notifications on new releases.