Esempio n. 1
0
        public async Task Logout()
        {
            await _localStorage.RemoveItemAsync("authToken");

            ((ApiAuthenticationStateProvider)_authenticationStateProvider).MarkUserAsLoggedOut();
            _customHttpClient.SetAuthenticationHeaderValue(null);
        }