logout #
Revokes the user's token & unsubscribe them from registered rooms.
Signature #
void logout();
Usage #
try {
kuzzle.getAuth().login("local", "{\"username\":\"foo\",\"password\":\"bar\"}");
kuzzle.getAuth().logout();
System.out.println("Success");
} catch (KuzzleException e) {
System.err.println(e.getMessage());
}
Edit this page on Github(opens new window)