/*
  *      Sign out
  */
 public static async void OneDriveSignOut()
 {
     try
     {
         var msaAuthenticationProvider = new OnlineIdAuthenticationProvider(scopes);
         await msaAuthenticationProvider.SignOutAsync();
     }
     catch { }
 }
Пример #2
0
 private async Task loggout()
 {
     await msaProvider.SignOutAsync();
 }