summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/SampleWcf2.aspx.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthConsumer/SampleWcf2.aspx.cs')
-rw-r--r--samples/OAuthConsumer/SampleWcf2.aspx.cs3
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) {