auth method
Sends the authentication password to the server. Returns true, if the password matches, otherwise false.
Implementation
Future<bool> auth(String password) async {
final result = await tier1.auth(password);
if (result is RespSimpleString) {
return result.payload == 'OK';
} else {
return false;
}
}