summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
diff options
context:
space:
mode:
authorunknown <andarno@.redmond.corp.microsoft.com>2011-06-15 22:04:26 -0700
committerunknown <andarno@.redmond.corp.microsoft.com>2011-06-15 22:04:26 -0700
commit4ad66d2d6aaa6c82ed3606e1c7134aeb960b6890 (patch)
treeb7a91568d26488ff7fb0be117775bb7acb5d1b98 /projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
parentc349a02d747f8a02ac0497ac19b21e177415b963 (diff)
downloadDotNetOpenAuth-4ad66d2d6aaa6c82ed3606e1c7134aeb960b6890.zip
DotNetOpenAuth-4ad66d2d6aaa6c82ed3606e1c7134aeb960b6890.tar.gz
DotNetOpenAuth-4ad66d2d6aaa6c82ed3606e1c7134aeb960b6890.tar.bz2
Implicit grants are now sort of working on the authorization server side.
Still to do: * Ensure no auto-authorize of access tokens based on previous authorizations for the unauthenticated client. * Provide the authorization server with a way to indicate access token lifetime, and to veto the request based on the requested scopes being too dangerous for the less secure implicit grant type.
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 2c9dc66..130702a 100644
--- a/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
+++ b/projecttemplates/RelyingPartyLogic/OAuthAuthenticationModule.cs
@@ -49,7 +49,7 @@ namespace RelyingPartyLogic {
return;
}
- using (var crypto = OAuthAuthorizationServer.CreateAsymmetricKeyServiceProvider()) {
+ using (var crypto = OAuthResourceServer.CreateRSA()) {
var tokenAnalyzer = new SpecialAccessTokenAnalyzer(crypto, crypto);
var resourceServer = new ResourceServer(tokenAnalyzer);