summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-04-07 06:47:13 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-04-07 06:47:13 -0700
commit843ec327684fe3cee40b790f352c127e90f6de90 (patch)
treec6e3109161290929d60b365acec9821254dd11aa /projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
parent619314e1e1d55b4122062f1e6219be335f790fc7 (diff)
downloadDotNetOpenAuth-843ec327684fe3cee40b790f352c127e90f6de90.zip
DotNetOpenAuth-843ec327684fe3cee40b790f352c127e90f6de90.tar.gz
DotNetOpenAuth-843ec327684fe3cee40b790f352c127e90f6de90.tar.bz2
Fixed non-thread-safe use of RsaCryptoServiceProvider instances.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs b/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
index c0685bc..0e4dc5c 100644
--- a/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
+++ b/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
@@ -49,7 +49,7 @@ namespace RelyingPartyLogic {
return;
}
- var tokenAnalyzer = new SpecialAccessTokenAnalyzer(OAuthAuthorizationServer.AsymmetricKey, OAuthAuthorizationServer.AsymmetricKey);
+ var tokenAnalyzer = new SpecialAccessTokenAnalyzer(OAuthAuthorizationServer.AsymmetricKeyServiceProvider, OAuthAuthorizationServer.AsymmetricKeyServiceProvider);
var resourceServer = new ResourceServer(tokenAnalyzer);
IPrincipal principal;