diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-26 07:32:50 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-26 07:32:50 -0700 |
commit | cb8528f3bace8ffdc11c6b0c5d5a460697fa48c9 (patch) | |
tree | aafa7d1074a06577c95022b5488e00d226dfb115 /projecttemplates/MvcRelyingParty/Controllers | |
parent | ab2382fcbd345abad15f8fdd709438cbf5547351 (diff) | |
download | DotNetOpenAuth-cb8528f3bace8ffdc11c6b0c5d5a460697fa48c9.zip DotNetOpenAuth-cb8528f3bace8ffdc11c6b0c5d5a460697fa48c9.tar.gz DotNetOpenAuth-cb8528f3bace8ffdc11c6b0c5d5a460697fa48c9.tar.bz2 |
Collapsed the AuthorizationServerBase and AuthorizationServer classes.
Diffstat (limited to 'projecttemplates/MvcRelyingParty/Controllers')
-rw-r--r-- | projecttemplates/MvcRelyingParty/Controllers/AccountController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs b/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs index 6bd65df..0b5e0b6 100644 --- a/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs +++ b/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs @@ -58,7 +58,7 @@ var requestingClient = Database.DataContext.Clients.First(c => c.ClientIdentifier == pendingRequest.ClientIdentifier); // Consider auto-approving if safe to do so. - if (((OAuthAuthorizationServer)OAuthServiceProvider.AuthorizationServer.AuthorizationServer).CanBeAutoApproved(pendingRequest)) { + if (((OAuthAuthorizationServer)OAuthServiceProvider.AuthorizationServer.AuthorizationServerServices).CanBeAutoApproved(pendingRequest)) { var approval = OAuthServiceProvider.AuthorizationServer.PrepareApproveAuthorizationRequest(pendingRequest, HttpContext.User.Identity.Name); return OAuthServiceProvider.AuthorizationServer.Channel.PrepareResponse(approval).AsActionResult(); } |