summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth/OAuth/WebConsumer.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-26 11:18:00 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-26 11:18:00 -0700
commit540f088953154bee2356cdf5f65a097cb6d3ebe4 (patch)
tree57cd337e805fdf7178f8071588bd648e9fa24e84 /src/DotNetOpenAuth/OAuth/WebConsumer.cs
parent351ef5cb570c8113f61bcd53eb9a649b9bace4e8 (diff)
downloadDotNetOpenAuth-540f088953154bee2356cdf5f65a097cb6d3ebe4.zip
DotNetOpenAuth-540f088953154bee2356cdf5f65a097cb6d3ebe4.tar.gz
DotNetOpenAuth-540f088953154bee2356cdf5f65a097cb6d3ebe4.tar.bz2
Refactored some of the HTTP request detection methods to better centralize them.
Diffstat (limited to 'src/DotNetOpenAuth/OAuth/WebConsumer.cs')
-rw-r--r--src/DotNetOpenAuth/OAuth/WebConsumer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OAuth/WebConsumer.cs b/src/DotNetOpenAuth/OAuth/WebConsumer.cs
index ee4a31d..569dd57 100644
--- a/src/DotNetOpenAuth/OAuth/WebConsumer.cs
+++ b/src/DotNetOpenAuth/OAuth/WebConsumer.cs
@@ -39,7 +39,7 @@ namespace DotNetOpenAuth.OAuth {
/// Requires HttpContext.Current.
/// </remarks>
public UserAuthorizationRequest PrepareRequestUserAuthorization() {
- Uri callback = MessagingUtilities.GetRequestUrlFromContext().StripQueryArgumentsWithPrefix(Protocol.Default.ParameterPrefix);
+ Uri callback = this.Channel.GetRequestFromContext().UrlBeforeRewriting.StripQueryArgumentsWithPrefix(Protocol.Default.ParameterPrefix);
return this.PrepareRequestUserAuthorization(callback, null, null);
}