summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-10-10 22:17:35 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-10-10 22:17:35 -0700
commitf8417bb425a77548538c22e9441792913cf07c95 (patch)
treebb03303e2004323f9af7e6a103c2d8b50f731bbf /projecttemplates/WebFormsRelyingParty
parent45a34911d8f5d26de884920237a44924235a51af (diff)
downloadDotNetOpenAuth-f8417bb425a77548538c22e9441792913cf07c95.zip
DotNetOpenAuth-f8417bb425a77548538c22e9441792913cf07c95.tar.gz
DotNetOpenAuth-f8417bb425a77548538c22e9441792913cf07c95.tar.bz2
StyleCop fixes.
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty')
-rw-r--r--projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs12
-rw-r--r--projecttemplates/WebFormsRelyingParty/Setup.aspx.cs10
2 files changed, 11 insertions, 11 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs b/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs
index bf76dea..1ca6d10 100644
--- a/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs
+++ b/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs
@@ -17,15 +17,15 @@ namespace WebFormsRelyingParty.Members {
public partial class AccountInfo : System.Web.UI.Page {
protected void Page_Load(object sender, EventArgs e) {
Global.LoggedInUser.AuthenticationTokens.Load();
- Repeater1.DataSource = Global.LoggedInUser.AuthenticationTokens;
+ this.Repeater1.DataSource = Global.LoggedInUser.AuthenticationTokens;
if (!IsPostBack) {
- Repeater1.DataBind();
- emailBox.Text = Global.LoggedInUser.EmailAddress;
- firstNameBox.Text = Global.LoggedInUser.FirstName;
- lastNameBox.Text = Global.LoggedInUser.LastName;
+ this.Repeater1.DataBind();
+ this.emailBox.Text = Global.LoggedInUser.EmailAddress;
+ this.firstNameBox.Text = Global.LoggedInUser.FirstName;
+ this.lastNameBox.Text = Global.LoggedInUser.LastName;
}
- firstNameBox.Focus();
+ this.firstNameBox.Focus();
}
protected void openIdBox_LoggingIn(object sender, OpenIdEventArgs e) {
diff --git a/projecttemplates/WebFormsRelyingParty/Setup.aspx.cs b/projecttemplates/WebFormsRelyingParty/Setup.aspx.cs
index c99dce6..fb94358 100644
--- a/projecttemplates/WebFormsRelyingParty/Setup.aspx.cs
+++ b/projecttemplates/WebFormsRelyingParty/Setup.aspx.cs
@@ -17,7 +17,7 @@
protected void Page_Load(object sender, EventArgs e) {
if (!Page.IsPostBack) {
- openidLogin.Focus();
+ this.openidLogin.Focus();
}
}
@@ -25,15 +25,15 @@
// We don't actually want to log in... we just want the claimed identifier.
e.Cancel = true;
if (e.IsDirectedIdentity) {
- noOPIdentifierLabel.Visible = true;
- } else if (!databaseCreated) {
- this.CreateDatabase(e.ClaimedIdentifier, openidLogin.Text);
+ this.noOPIdentifierLabel.Visible = true;
+ } else if (!this.databaseCreated) {
+ this.CreateDatabase(e.ClaimedIdentifier, this.openidLogin.Text);
this.MultiView1.ActiveViewIndex = 1;
// indicate we have already created the database so that if the
// identifier the user gave has multiple service endpoints,
// we won't try to recreate the database as the next one is considered.
- databaseCreated = true;
+ this.databaseCreated = true;
}
}