diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-12-25 14:27:17 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-12-25 22:44:48 -0800 |
commit | 99d55efac7b70a681c710d24f66320edd1efdd91 (patch) | |
tree | 1a98021a41ad7e03029c693d7ba10b99a6aef901 /projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs | |
parent | 52c3b195c575aa2d850347536c2705d864b94950 (diff) | |
download | DotNetOpenAuth-99d55efac7b70a681c710d24f66320edd1efdd91.zip DotNetOpenAuth-99d55efac7b70a681c710d24f66320edd1efdd91.tar.gz DotNetOpenAuth-99d55efac7b70a681c710d24f66320edd1efdd91.tar.bz2 |
Replaced WCF "OriginalHttpRequestUri" property with simple Via.
Thanks to Jamie Mutton for suggesting this.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs index 77cd4da..9ecea92 100644 --- a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs +++ b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs @@ -30,7 +30,7 @@ namespace RelyingPartyLogic { } var httpDetails = operationContext.RequestContext.RequestMessage.Properties[HttpRequestMessageProperty.Name] as HttpRequestMessageProperty; - var requestUri = operationContext.RequestContext.RequestMessage.Properties["OriginalHttpRequestUri"] as Uri; + var requestUri = operationContext.RequestContext.RequestMessage.Properties.Via; var tokenAnalyzer = new SpecialAccessTokenAnalyzer(OAuthAuthorizationServer.AsymmetricKey, OAuthAuthorizationServer.AsymmetricKey); var resourceServer = new ResourceServer(tokenAnalyzer); |