diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-12-13 15:25:54 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-12-13 15:25:54 -0800 |
commit | 39dacc2ff566232076eb4dc39f6d57e1ced4913e (patch) | |
tree | 100b82887033c9bc6d700f549ef1b4f1766f3de7 /projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs | |
parent | ab55daeac668ff4fe38daa458df08aa4b8b2d3a3 (diff) | |
parent | 072a488bd47854ec5475a1a2a7a42fd5b0e7a88b (diff) | |
download | DotNetOpenAuth-39dacc2ff566232076eb4dc39f6d57e1ced4913e.zip DotNetOpenAuth-39dacc2ff566232076eb4dc39f6d57e1ced4913e.tar.gz DotNetOpenAuth-39dacc2ff566232076eb4dc39f6d57e1ced4913e.tar.bz2 |
Merge branch 'v3.3'
Conflicts:
src/DotNetOpenAuth.vsmdi
src/version.txt
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 752e2eb..f57faab 100644 --- a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs +++ b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs @@ -33,7 +33,7 @@ namespace RelyingPartyLogic { ServiceProvider sp = OAuthServiceProvider.ServiceProvider; var auth = sp.ReadProtectedResourceAuthorization(httpDetails, requestUri); if (auth != null) { - var accessToken = Database.DataContext.IssuedToken.OfType<IssuedAccessToken>().First(token => token.Token == auth.AccessToken); + var accessToken = Database.DataContext.IssuedTokens.OfType<IssuedAccessToken>().First(token => token.Token == auth.AccessToken); var principal = sp.CreatePrincipal(auth); var policy = new OAuthPrincipalAuthorizationPolicy(principal); |