summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-07-26 07:32:50 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-07-26 07:32:50 -0700
commitcb8528f3bace8ffdc11c6b0c5d5a460697fa48c9 (patch)
treeaafa7d1074a06577c95022b5488e00d226dfb115 /projecttemplates/WebFormsRelyingParty
parentab2382fcbd345abad15f8fdd709438cbf5547351 (diff)
downloadDotNetOpenAuth-cb8528f3bace8ffdc11c6b0c5d5a460697fa48c9.zip
DotNetOpenAuth-cb8528f3bace8ffdc11c6b0c5d5a460697fa48c9.tar.gz
DotNetOpenAuth-cb8528f3bace8ffdc11c6b0c5d5a460697fa48c9.tar.bz2
Collapsed the AuthorizationServerBase and AuthorizationServer classes.
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty')
-rw-r--r--projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs b/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs
index 8b33696..15b773d 100644
--- a/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs
+++ b/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs
@@ -36,7 +36,7 @@ namespace WebFormsRelyingParty.Members {
this.scopeLabel.Text = HttpUtility.HtmlEncode(OAuthUtilities.JoinScopes(this.pendingRequest.Scope));
// Consider auto-approving if safe to do so.
- if (((OAuthAuthorizationServer)OAuthServiceProvider.AuthorizationServer.AuthorizationServer).CanBeAutoApproved(this.pendingRequest)) {
+ if (((OAuthAuthorizationServer)OAuthServiceProvider.AuthorizationServer.AuthorizationServerServices).CanBeAutoApproved(this.pendingRequest)) {
OAuthServiceProvider.AuthorizationServer.ApproveAuthorizationRequest(this.pendingRequest, HttpContext.Current.User.Identity.Name);
}
this.ViewState["AuthRequest"] = this.pendingRequest;