Beispiel #1
0
 private void SignInToAad()
 {
     SetSignInButtonToSigningIn();
     try
     {
         AadLoginControl.SignInAsync();
     }
     catch (Exception)
     {
         Notification.Show("Could not sign in.");
         SetSignInButtonToSignIn();
     }
 }
Beispiel #2
0
 private async void SignOutFromAad()
 {
     SetSignInButtonToSignIn();
     await AadLoginControl.SignOutAsync();
 }