SDK
SDK Dart v1.x
2

# Logout

Revokes the user's token & unsubscribes them from registered rooms.

# Arguments

Copied to clipboard!
Future<void> logout()

# Return

A Response object.

# Usage

Copied to clipboard!
await kuzzle
  .auth
  .login(
    'local',
    {
      'username': 'foo',
      'password': 'bar'
    },
);
await kuzzle
  .auth
  .logout();