feat(auth): list/revoke sessions with device_name and client_type. Fixes EventHub/EventHubBack#74
This commit is contained in:
@@ -31,7 +31,7 @@ admin_refresh_test_() ->
|
||||
]}.
|
||||
|
||||
test_refresh_ok() ->
|
||||
{ok, _Access, Refresh} = logic_auth_session:issue_admin_tokens(?ADMIN_ID, <<"admin">>),
|
||||
{ok, _Access, Refresh, _} = logic_auth_session:issue_admin_tokens(?ADMIN_ID, <<"admin">>),
|
||||
{Status, _, Body} = eh_test_support:call(admin_handler_refresh, #{
|
||||
method => <<"POST">>,
|
||||
path => <<"/v1/admin/refresh">>,
|
||||
|
||||
Reference in New Issue
Block a user