public async Task LocalLogout() { User = null; LoginToken = null; await _localStorageManagerService.RemoveLoginProfile(); await _localStorageManagerService.RemoveLoginToken(); // Notify the rest of the app about authentication _localAuthenticationStateProvider.SetAsLoggedOut(); }