ruby-auth0
ruby-auth0 copied to clipboard
Add options parameter to user_sessions method
Changes
In this PR, the user_sessions method is extended to properly pass query parameters in addition to the user_id path parameter, ensuring that the API request includes the provided query parameters.
References
Auth0 Management API - Get sessions for user
Testing
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
- [x] This change adds unit test coverage
- [ ] This change adds integration test coverage
- [x] This change has been tested on the latest version of Ruby
Checklist
- [x] I have read the Auth0 general contribution guidelines
- [x] I have read the Auth0 Code of Conduct
- [x] All existing and new tests complete without errors
- [x] Rubocop passes on all added/modified files
- [x] All active GitHub checks have passed