logout static method
logout.
Implementation
static Future<AuthResult> logout() async {
Map map = {};
map.putIfAbsent('client_id', () => Authing.sAppId);
map.putIfAbsent('token', () => currentUser?.accessToken);
final Result result = await post('/oidc/token/revocation', jsonEncode(map));
currentUser = null;
return AuthResult(result);
}