public async Task LogoutAsync() { Settings.RemoveAuth(); App.AuthenticationClient.UserTokenCache.Clear(Settings.ClientId); await _tripsService.SetCurrentFlightStatusAsync(FlightStatus.CheckInAvailable); // MSAL uses native embedded browser for sign-in process, where // authentication cookies are persisted. To enable a full log in/out // behavior, we should clear all browser cookies before signing in again await _browserCookiesService.ClearCookiesAsync(); }
public async Task LogoutAsync() { await browserCookiesService.ClearCookiesAsync(); }
public async Task LogoutAsync() { AppSettings.RemoveUserData(); await _browserCookiesService.ClearCookiesAsync(); }