/// <summary> /// Handles SDK authentication changes /// </summary> async void HandleAuthenticationChanged(object sender, AuthenticationChangedEventArgs e) { if (!e.IsAuthenticated) { IsDevicesVisible = false; await Navigation.PushModalAsync(new StartupPage()); } else { IsDevicesVisible = true; await CheckTermsConditionsAcceptance(); } }
private void OnAuthenticatorAuthenticationChanged(object sender, AuthenticationChangedEventArgs e) { this.CalculateCanCreateServiceInstance(); }
/// <summary> /// The event handler that is called when the user signs in and out. /// </summary> private void Authenticator_AuthenticationChanged(object sender, AuthenticationChangedEventArgs e) { this.CalculateAuthentication(); }