ArcGISRuntime.WPF.Samples.AuthorMap.AuthorMap.SaveOAuthSettingsClicked C# (CSharp) Method

SaveOAuthSettingsClicked() private method

private SaveOAuthSettingsClicked ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void
        private void SaveOAuthSettingsClicked(object sender, RoutedEventArgs e)
        {
            // Store the OAuth information that was entered
            AppClientId = ClientIdTextBox.Text.Trim();
            OAuthRedirectUrl = RedirectUrlTextBox.Text.Trim();

            // Hide the OAuth settings, show the save map controls
            OAuthSettingsGrid.Visibility = Visibility.Collapsed;
            SaveMapGrid.Visibility = Visibility.Visible;

            // Update authentication manager with the OAuth settings
            UpdateAuthenticationManager();
        }