//public async Task Register(RegisterParameters registerParameters) //{ // await _authorizeApi.Register(registerParameters); // NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); //} public async Task Logout() { await _authorizeApi.Logout(); _userInfoCache = null; NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); }
public async Task <ApiResponseDto> Logout() { ApiResponseDto apiResponse = await _authorizeApi.Logout(); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(apiResponse); }
public async Task Logout() { await _authorizeApi.Logout(); userInfo = null; NotifyAuthenticationStateChanged(); }
public async Task <ClientApiResponse> Logout() { ClientApiResponse apiResponse = await _authorizeApi.Logout(); _userInfoCache = null; NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(apiResponse); }
public async Task <ApiResponseDto> Logout() { _appState.UserProfile = null; ApiResponseDto apiResponse = await _authorizeApi.Logout(); _userInfoCache = null; NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(apiResponse); }
public async Task Logout() { Console.WriteLine("Logout..."); await _authorizeApi.Logout(); userInfo = null; _serverAuthenticationStateProvider.RaiseChangeEvent(); Console.WriteLine($"Logout... userInfo: {userInfo}, userInfo.Username: {userInfo?.Username}"); }
public async Task Logout() { await _authorizeApi.Logout(); userInfo = null; }
public async Task Logout() { await _authorizeApi.Logout(); UserName = null; }