diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-19 07:54:10 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-19 07:54:10 -0700 |
commit | b5c8335f528acbca046ca2844f8e4c12cfa9cba3 (patch) | |
tree | dc1f86b45964c2e4d92a5e61fe0efd317158faf4 /samples/OAuthConsumer/SampleWcf2.aspx.cs | |
parent | c34d74ed81bcac18961272d52dc5bab21a3394fa (diff) | |
download | DotNetOpenAuth-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/OAuthConsumer/SampleWcf2.aspx.cs')
-rw-r--r-- | samples/OAuthConsumer/SampleWcf2.aspx.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/OAuthConsumer/SampleWcf2.aspx.cs b/samples/OAuthConsumer/SampleWcf2.aspx.cs index ad569fe..deef073 100644 --- a/samples/OAuthConsumer/SampleWcf2.aspx.cs +++ b/samples/OAuthConsumer/SampleWcf2.aspx.cs @@ -63,9 +63,8 @@ string[] scopes = (from item in this.scopeList.Items.OfType<ListItem>() where item.Selected select item.Value).ToArray(); - string scope = string.Join(" ", scopes); - Client.RequestUserAuthorization(scope).Send(); + Client.RequestUserAuthorization(scopes).Send(); } protected void getNameButton_Click(object sender, EventArgs e) { |