diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-10 15:45:14 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-10 15:45:14 -0800 |
commit | 8d530aa91c05b14be12c5b1177f39eb5f62c669e (patch) | |
tree | e3da76a89c8d39ac61d36024ae298c4d931cf318 /samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs | |
parent | 4e85bc002819c123a6e2dd88f18fcc82fa78c38f (diff) | |
download | DotNetOpenAuth-8d530aa91c05b14be12c5b1177f39eb5f62c669e.zip DotNetOpenAuth-8d530aa91c05b14be12c5b1177f39eb5f62c669e.tar.gz DotNetOpenAuth-8d530aa91c05b14be12c5b1177f39eb5f62c669e.tar.bz2 |
Fixes up WCF OAuth 1 samples.
Diffstat (limited to 'samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs')
-rw-r--r-- | samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs b/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs index cf28c15..2d942b5 100644 --- a/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs +++ b/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs @@ -26,6 +26,7 @@ HttpRequestMessageProperty httpDetails = operationContext.RequestContext.RequestMessage.Properties[HttpRequestMessageProperty.Name] as HttpRequestMessageProperty; Uri requestUri = operationContext.RequestContext.RequestMessage.Properties.Via; ServiceProvider sp = Constants.CreateServiceProvider(); + ((DatabaseTokenManager)sp.TokenManager).OperationContext = operationContext; // artificially preserve this across thread changes. return Task.Run( async delegate { try { |