async void HandleOnAuthChanged(object sender, AuthChangedEventArgs e)
 {
     if (e.IsLoggedIn)
     {
         await HandleAppPermissions();
     }
     else
     {
         OnDisplayLogin?.Invoke();
     }
 }
 // Called when the Authentication OnAuthChanged event fires - when authentication with credentials succeeds
 async void HandleOnAuthChanged(object sender, AuthChangedEventArgs e)
 {
     if (e.IsLoggedIn)
     {
         // Authenticated, so check for required permissions
         await HandleAppPermissions();
     }
     else
     {
         // Not authenticated, so update login screen
         OnDisplayLogin?.Invoke();
     }
 }