示例#1
0
        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();
        }
示例#2
0
 public async Task LogoutAsync()
 {
     await browserCookiesService.ClearCookiesAsync();
 }
示例#3
0
 public async Task LogoutAsync()
 {
     AppSettings.RemoveUserData();
     await _browserCookiesService.ClearCookiesAsync();
 }