예제 #1
0
        public async Task Logout()
        {
            await _httpClientService.PostJsonAsync(_apiOptions.Logout, null);

            await _apiAuthenticationState.MarkUserAsLoggedOut();
        }
예제 #2
0
 public Task LogoutAsync()
 {
     //todo call logoute endpoint
     return(auth.MarkUserAsLoggedOut());
     //return Task.CompletedTask;
 }