summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/SampleWcf.aspx.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthConsumer/SampleWcf.aspx.cs')
-rw-r--r--samples/OAuthConsumer/SampleWcf.aspx.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthConsumer/SampleWcf.aspx.cs b/samples/OAuthConsumer/SampleWcf.aspx.cs
index e01c485..9c32f59 100644
--- a/samples/OAuthConsumer/SampleWcf.aspx.cs
+++ b/samples/OAuthConsumer/SampleWcf.aspx.cs
@@ -88,7 +88,7 @@
var httpRequest = new HttpRequestMessage(HttpMethod.Post, client.Endpoint.Address.Uri);
using (WebConsumer consumer = this.CreateConsumer()) {
using (var handler = consumer.CreateMessageHandler(accessToken)) {
- handler.ApplyOAuthParameters(httpRequest);
+ handler.ApplyAuthorization(httpRequest);
}
}