summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumerWpf/MainWindow.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthConsumerWpf/MainWindow.xaml.cs')
-rw-r--r--samples/OAuthConsumerWpf/MainWindow.xaml.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/samples/OAuthConsumerWpf/MainWindow.xaml.cs b/samples/OAuthConsumerWpf/MainWindow.xaml.cs
index f315922..b7da074 100644
--- a/samples/OAuthConsumerWpf/MainWindow.xaml.cs
+++ b/samples/OAuthConsumerWpf/MainWindow.xaml.cs
@@ -212,9 +212,7 @@
try {
////var client = new DotNetOpenAuth.OAuth2.WebAppClient(authServer);
////client.PrepareRequestUserAuthorization();
- var client = new OAuth2.UserAgentClient(authServer) {
- ClientIdentifier = wrapClientIdentifierBox.Text,
- };
+ var client = new OAuth2.UserAgentClient(authServer, wrapClientIdentifierBox.Text, wrapClientSecretBox.Text);
var authorizePopup = new Authorize2(client);
authorizePopup.Owner = this;