summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-05 21:50:54 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-05 21:50:54 -0800
commit5fcf14c67ba2a9f95ed9685b8ab519394be2c2f5 (patch)
treee24ac49b3b18a04fb9bbfe8b970063b3b3f6ab7a /src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
parenta292822196d0911a68fc56597ed52a8c84a41cbe (diff)
parentc8ddd3b2a4e4aa1a90c867c619845ffb2d967a4c (diff)
downloadDotNetOpenAuth-5fcf14c67ba2a9f95ed9685b8ab519394be2c2f5.zip
DotNetOpenAuth-5fcf14c67ba2a9f95ed9685b8ab519394be2c2f5.tar.gz
DotNetOpenAuth-5fcf14c67ba2a9f95ed9685b8ab519394be2c2f5.tar.bz2
HttpRequestInfo now replaced in public APIs with HttpRequestBase.
Fixes #78
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
index 5131b10..cfbc886 100644
--- a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
+++ b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/UserAgentClient.cs
@@ -10,6 +10,8 @@ namespace DotNetOpenAuth.OAuth2 {
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
+ using System.Web;
+
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OAuth2.Messages;
@@ -93,7 +95,7 @@ namespace DotNetOpenAuth.OAuth2 {
authorizationState = new AuthorizationState();
}
- var carrier = new HttpRequestInfo("GET", actualRedirectUrl, actualRedirectUrl.PathAndQuery, new System.Net.WebHeaderCollection(), null);
+ var carrier = new HttpRequestInfo("GET", actualRedirectUrl);
IDirectedProtocolMessage response = this.Channel.ReadFromRequest(carrier);
if (response == null) {
return null;