SDK
SDK Dart v2.x
2

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();