public async Task Logout() { string token = _identityUser?.Token; if (string.IsNullOrEmpty(token)) { return; } _simpleMemoryCache.Delete(token); await _alfrescoHttpClient.Logout(); }