auth0 / auth0-java

Java client library for the Auth0 platform
https://auth0.com
MIT License
295 stars 130 forks source link

Add sessions and refresh tokens to Users Management API #661

Closed tanya732 closed 1 month ago

tanya732 commented 2 months ago

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/refresh-tokens/get-refresh-token https://auth0.com/docs/api/management/v2/refresh-tokens/delete-refresh-token

https://auth0.com/docs/api/management/v2/users/get-sessions-for-user https://auth0.com/docs/api/management/v2/users/delete-sessions-for-user https://auth0.com/docs/api/management/v2/sessions/get-session https://auth0.com/docs/api/management/v2/sessions/delete-session

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.

Checklist

tanya732 commented 2 months ago
  • /sessions

Earlier it was not added in JIRA, now I have added /sessions and /refresh-tokens API's in the same PR