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);
}
Edit this page on Github(opens new window)