diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-05 21:50:54 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-05 21:50:54 -0800 |
commit | 5fcf14c67ba2a9f95ed9685b8ab519394be2c2f5 (patch) | |
tree | e24ac49b3b18a04fb9bbfe8b970063b3b3f6ab7a /projecttemplates/RelyingPartyLogic | |
parent | a292822196d0911a68fc56597ed52a8c84a41cbe (diff) | |
parent | c8ddd3b2a4e4aa1a90c867c619845ffb2d967a4c (diff) | |
download | DotNetOpenAuth-5fcf14c67ba2a9f95ed9685b8ab519394be2c2f5.zip DotNetOpenAuth-5fcf14c67ba2a9f95ed9685b8ab519394be2c2f5.tar.gz DotNetOpenAuth-5fcf14c67ba2a9f95ed9685b8ab519394be2c2f5.tar.bz2 |
HttpRequestInfo now replaced in public APIs with HttpRequestBase.
Fixes #78
Diffstat (limited to 'projecttemplates/RelyingPartyLogic')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs | 2 | ||||
-rw-r--r-- | projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs b/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs index 581b575..13e725d 100644 --- a/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs +++ b/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs @@ -54,7 +54,7 @@ namespace RelyingPartyLogic { var resourceServer = new ResourceServer(tokenAnalyzer); IPrincipal principal; - var errorMessage = resourceServer.VerifyAccess(new HttpRequestInfo(this.application.Context.Request), out principal); + var errorMessage = resourceServer.VerifyAccess(new HttpRequestWrapper(this.application.Context.Request), out principal); if (errorMessage == null) { this.application.Context.User = principal; } diff --git a/projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj b/projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj index 2880176..58e684e 100644 --- a/projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj +++ b/projecttemplates/RelyingPartyLogic/RelyingPartyLogic.csproj @@ -85,6 +85,7 @@ <Reference Include="System.ServiceModel"> <RequiredTargetFramework>3.0</RequiredTargetFramework> </Reference> + <Reference Include="System.Web.Abstractions" /> <Reference Include="System.Web.Entity"> <RequiredTargetFramework>3.5</RequiredTargetFramework> </Reference> |