diff options
Diffstat (limited to 'samples/OAuthConsumerWpf/MainWindow.xaml.cs')
-rw-r--r-- | samples/OAuthConsumerWpf/MainWindow.xaml.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/OAuthConsumerWpf/MainWindow.xaml.cs b/samples/OAuthConsumerWpf/MainWindow.xaml.cs index b57589a..bf65431 100644 --- a/samples/OAuthConsumerWpf/MainWindow.xaml.cs +++ b/samples/OAuthConsumerWpf/MainWindow.xaml.cs @@ -34,13 +34,12 @@ public MainWindow() { InitializeComponent(); - this.google = GoogleConsumer.CreateDesktopConsumer(this.tokenManager, string.Empty); + this.google = new DesktopConsumer(GoogleConsumer.ServiceDescription, this.tokenManager); } private void beginAuthorizationButton_Click(object sender, RoutedEventArgs e) { this.tokenManager.ConsumerKey = consumerKeyBox.Text; this.tokenManager.ConsumerSecret = consumerSecretBox.Text; - this.google.ConsumerKey = consumerKeyBox.Text; Cursor original = this.Cursor; this.Cursor = Cursors.Wait; |