feat(auth): list/revoke sessions with device_name and client_type. Fixes EventHub/EventHubBack#74
CI / test (push) Failing after 10m52s
CI / deploy-ift (push) Has been skipped
CI / e2e-ift (push) Has been skipped
CI / deploy-stage (push) Has been skipped
CI / e2e-stage (push) Has been skipped

This commit is contained in:
2026-08-16 18:30:05 +03:00
parent 1c701a5254
commit 0690020e81
16 changed files with 482 additions and 62 deletions
+3
View File
@@ -91,6 +91,9 @@ start_http() ->
{"/v1/login", handler_login, []},
{"/v1/refresh", handler_refresh, []},
{"/v1/logout", handler_logout, []},
{"/v1/sessions", handler_sessions, []},
{"/v1/sessions/revoke-others", handler_sessions, []},
{"/v1/sessions/:id", handler_sessions, []},
{"/v1/user/me", handler_user_me, []},
{"/v1/user/me/avatar", handler_user_avatar, []},
{"/v1/notifications/prefs", handler_notification_prefs, []},