You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using django-rest-durin in a closed-source project where I've extended it to add a sort-of "sessions management" feature.
REST view for an authenticated user to get list of sessions (in context of django-rest-durin, this means AuthToken instances), revoke session by ID. Useful for pages like "View active browser sessions".
REST views for an authenticated user to create/delete token against a pre-defined client. Useful for pages like "Get API key".
If and when I find the time, I'd really like to take that code, generalize it and make it part of this package.
The text was updated successfully, but these errors were encountered:
eshaan7
changed the title
Views for sessions management
Session management
Sep 4, 2021
* new TokenSessionsSerializer & APIAccessTokenSerializer with views
* adjust example_project for new changes
* tests: refactor test_views, new SessionAndAPIAccessViewsTestCase
* docs
I am using django-rest-durin in a closed-source project where I've extended it to add a sort-of "sessions management" feature.
AuthToken
instances), revoke session by ID. Useful for pages like "View active browser sessions".If and when I find the time, I'd really like to take that code, generalize it and make it part of this package.
The text was updated successfully, but these errors were encountered: