Logout #
Revokes the user's token & unsubscribes them from registered rooms.
Arguments #
Future<void> logout()
Return #
A Response object.
Usage #
await kuzzle
.auth
.login(
'local',
{
'username': 'foo',
'password': 'bar'
},
);
await kuzzle
.auth
.logout();
Edit this page on Github(opens new window)