summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-15 15:30:38 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-15 15:30:38 -0800
commit588bc035f93607b4179df9f7f42175c08e6cf7b5 (patch)
tree965802693892616db01cf6997f060dda44518697 /projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs
parent888abd61a54576ff244533693df77f174f03c2bb (diff)
parent2ff3e125a7db35ce459b89add580aedf7d2bd7d4 (diff)
downloadDotNetOpenAuth-588bc035f93607b4179df9f7f42175c08e6cf7b5.zip
DotNetOpenAuth-588bc035f93607b4179df9f7f42175c08e6cf7b5.tar.gz
DotNetOpenAuth-588bc035f93607b4179df9f7f42175c08e6cf7b5.tar.bz2
Merged working branch that splits the RP project template into two projects: a web project and a class library.
Merge branch 'projecttemplateLib'
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs')
-rw-r--r--projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs b/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs
index 044e9c0..935e8ab 100644
--- a/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs
+++ b/projecttemplates/WebFormsRelyingParty/Members/OAuthAuthorize.aspx.cs
@@ -13,6 +13,7 @@ namespace WebFormsRelyingParty.Members {
using System.Web.UI.WebControls;
using DotNetOpenAuth.OAuth;
using DotNetOpenAuth.OAuth.Messages;
+ using RelyingPartyLogic;
using WebFormsRelyingParty.Code;
public partial class OAuthAuthorize : System.Web.UI.Page {
@@ -23,14 +24,14 @@ namespace WebFormsRelyingParty.Members {
Response.Redirect("AccountInfo.aspx");
}
- this.csrfCheck.Value = Utilities.SetCsrfCookie();
+ this.csrfCheck.Value = Code.Utilities.SetCsrfCookie();
this.consumerNameLabel.Text = HttpUtility.HtmlEncode(OAuthServiceProvider.PendingAuthorizationConsumer.Name);
OAuth10ConsumerWarning.Visible = pendingRequest.IsUnsafeRequest;
serviceProviderDomainNameLabel.Text = HttpUtility.HtmlEncode(this.Request.Url.Host);
this.consumerDomainNameLabel3.Text = this.consumerDomainNameLabel2.Text = this.consumerDomainNameLabel1.Text = HttpUtility.HtmlEncode(OAuthServiceProvider.PendingAuthorizationConsumer.Name);
} else {
- Utilities.VerifyCsrfCookie(this.csrfCheck.Value);
+ Code.Utilities.VerifyCsrfCookie(this.csrfCheck.Value);
}
}