feat(auth): list/revoke sessions with device_name and client_type. Fixes EventHub/EventHubBack#74
This commit is contained in:
@@ -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, []},
|
||||
|
||||
Reference in New Issue
Block a user