Add sessions and refresh tokens to Users Management API
Changes
Adds support for the following APIs:
- https://auth0.com/docs/api/management/v2/users/get-refresh-tokens-for-user
- https://auth0.com/docs/api/management/v2/users/delete-refresh-tokens-for-user
- https://auth0.com/docs/api/management/v2/users/get-sessions-for-user
- https://auth0.com/docs/api/management/v2/users/delete-sessions-for-user
These APIs only support the checkpoint pagination so I've added a different filter for them.
References
Fixes #653
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 test coverage
- [x] This change has been tested on the latest version of the platform/language
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
@desusai7 @jimmyjames Sorry for the direct tags - I can see you've been recently active in the repo.
Is this change acceptable? I'd welcome any and all feedback.
Thanks
Hi @jak We have to add support for few more API's. Created a new PR, and added this PR changes.
Thank you