Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for User sessions Endpoints in UserManager #482

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

developerkunal
Copy link
Contributor

🔧 Changes

This pull request adds support for user session endpoints in UserManager Specifically:

  • Added Methods:

    • ListUserSessions: Retrieves active sessions for a specific user.
    • DeleteUserSessions: Deletes all active sessions for a specific user.
  • These changes are important to manage user sessions programmatically and align with Auth0's Management API capabilities.

📚 References

🔬 Testing

  • Added tests to verify the functionality of the new methods.
  • Manual testing was performed to validate behavior against the live API endpoints.

📝 Checklist

  • All new/changed/fixed functionality is covered by tests.
  • Documentation has been updated for all new/changed functionality.

@developerkunal developerkunal requested a review from a team as a code owner January 8, 2025 06:25
@codecov-commenter
Copy link

codecov-commenter commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.36%. Comparing base (0090965) to head (5f52a45).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #482      +/-   ##
==========================================
+ Coverage   95.31%   95.36%   +0.05%     
==========================================
  Files          53       53              
  Lines       10540    10664     +124     
==========================================
+ Hits        10046    10170     +124     
  Misses        373      373              
  Partials      121      121              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@developerkunal developerkunal merged commit 3012ac8 into main Jan 8, 2025
7 checks passed
@developerkunal developerkunal deleted the SDK-5493-User-sessions-API-in-GoSDK branch January 8, 2025 07:59
@developerkunal developerkunal mentioned this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants