summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumerWpf
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-07-19 07:54:10 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-07-19 07:54:10 -0700
commitb5c8335f528acbca046ca2844f8e4c12cfa9cba3 (patch)
treedc1f86b45964c2e4d92a5e61fe0efd317158faf4 /samples/OAuthConsumerWpf
parentc34d74ed81bcac18961272d52dc5bab21a3394fa (diff)
downloadDotNetOpenAuth-b5c8335f528acbca046ca2844f8e4c12cfa9cba3.zip
DotNetOpenAuth-b5c8335f528acbca046ca2844f8e4c12cfa9cba3.tar.gz
DotNetOpenAuth-b5c8335f528acbca046ca2844f8e4c12cfa9cba3.tar.bz2
Changed the public API for OAuth 2.0 scope from a space-delimited string to a HashSet<string>
Diffstat (limited to 'samples/OAuthConsumerWpf')
-rw-r--r--samples/OAuthConsumerWpf/MainWindow.xaml.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthConsumerWpf/MainWindow.xaml.cs b/samples/OAuthConsumerWpf/MainWindow.xaml.cs
index d84637e..ae51103 100644
--- a/samples/OAuthConsumerWpf/MainWindow.xaml.cs
+++ b/samples/OAuthConsumerWpf/MainWindow.xaml.cs
@@ -205,7 +205,7 @@
try {
var client = new OAuth2.UserAgentClient(authServer, oauth2ClientIdentifierBox.Text, oauth2ClientSecretBox.Text);
- var authorization = new AuthorizationState { Scope = oauth2ScopeBox.Text };
+ var authorization = new AuthorizationState(OAuthUtilities.SplitScopes(oauth2ScopeBox.Text));
var authorizePopup = new Authorize2(client, authorization);
authorizePopup.Owner = this;
bool? result = authorizePopup.ShowDialog();