SDK
SDK C# v2.x
2

LogoutAsync #

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

Arguments #

public async Task LogoutAsync();

Usage #

try {
  await kuzzle.Auth.LoginAsync(
    "local",
    JObject.Parse("{username: 'foo', password: 'bar'}"));
  await kuzzle.Auth.LogoutAsync();
  Console.WriteLine("Success");
} catch (KuzzleException e) {
  Console.WriteLine(e);
}