auth0-java icon indicating copy to clipboard operation
auth0-java copied to clipboard

Add sessions and refresh tokens to Users Management API

Open jak opened this issue 1 year ago • 1 comments

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

jak avatar Jun 26 '24 16:06 jak

@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

jak avatar Jul 01 '24 08:07 jak

Hi @jak We have to add support for few more API's. Created a new PR, and added this PR changes.

Thank you

tanya732 avatar Dec 16 '24 05:12 tanya732