summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.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.OpenId.Provider/OpenId/Provider/OpenIdProvider.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.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs')
-rw-r--r--src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs b/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs
index f7e49f2..72fdc80 100644
--- a/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs
+++ b/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs
@@ -256,7 +256,7 @@ namespace DotNetOpenAuth.OpenId.Provider {
/// </remarks>
/// <exception cref="ProtocolException">Thrown if the incoming message is recognized
/// but deviates from the protocol specification irrecoverably.</exception>
- public IRequest GetRequest(HttpRequestInfo httpRequestInfo) {
+ public IRequest GetRequest(HttpRequestBase httpRequestInfo) {
Requires.NotNull(httpRequestInfo, "httpRequestInfo");
IDirectedProtocolMessage incomingMessage = null;
@@ -266,7 +266,7 @@ namespace DotNetOpenAuth.OpenId.Provider {
// If the incoming request does not resemble an OpenID message at all,
// it's probably a user who just navigated to this URL, and we should
// just return null so the host can display a message to the user.
- if (httpRequestInfo.HttpMethod == "GET" && !httpRequestInfo.UrlBeforeRewriting.QueryStringContainPrefixedParameters(Protocol.Default.openid.Prefix)) {
+ if (httpRequestInfo.HttpMethod == "GET" && !httpRequestInfo.GetPublicFacingUrl().QueryStringContainPrefixedParameters(Protocol.Default.openid.Prefix)) {
return null;
}
@@ -533,7 +533,7 @@ namespace DotNetOpenAuth.OpenId.Provider {
/// <returns>
/// Either the <see cref="IRequest"/> to return to the host site or null to indicate no response could be reasonably created and that the caller should rethrow the exception.
/// </returns>
- private IRequest GetErrorResponse(ProtocolException ex, HttpRequestInfo httpRequestInfo, IDirectedProtocolMessage incomingMessage) {
+ private IRequest GetErrorResponse(ProtocolException ex, HttpRequestBase httpRequestInfo, IDirectedProtocolMessage incomingMessage) {
Requires.NotNull(ex, "ex");
Requires.NotNull(httpRequestInfo, "httpRequestInfo");