summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samples/OAuthConsumer/SignInWithTwitter.aspx.cs4
-rw-r--r--samples/OAuthConsumer/Twitter.aspx.cs4
-rw-r--r--samples/OAuthServiceProvider/Members/Authorize.aspx.cs4
3 files changed, 6 insertions, 6 deletions
diff --git a/samples/OAuthConsumer/SignInWithTwitter.aspx.cs b/samples/OAuthConsumer/SignInWithTwitter.aspx.cs
index 26ccead..5bc46ef 100644
--- a/samples/OAuthConsumer/SignInWithTwitter.aspx.cs
+++ b/samples/OAuthConsumer/SignInWithTwitter.aspx.cs
@@ -21,8 +21,8 @@
string screenName;
int userId;
if (TwitterConsumer.TryFinishSignInWithTwitter(out screenName, out userId)) {
- loggedInPanel.Visible = true;
- loggedInName.Text = screenName;
+ this.loggedInPanel.Visible = true;
+ this.loggedInName.Text = screenName;
// In a real app, the Twitter username would likely be used
// to log the user into the application.
diff --git a/samples/OAuthConsumer/Twitter.aspx.cs b/samples/OAuthConsumer/Twitter.aspx.cs
index 12450e6..8288ed0 100644
--- a/samples/OAuthConsumer/Twitter.aspx.cs
+++ b/samples/OAuthConsumer/Twitter.aspx.cs
@@ -74,11 +74,11 @@
HttpUtility.HtmlEncode(update.Status));
}
tableBuilder.Append("</table>");
- resultsPlaceholder.Controls.Add(new Literal { Text = tableBuilder.ToString() });
+ this.resultsPlaceholder.Controls.Add(new Literal { Text = tableBuilder.ToString() });
}
protected void uploadProfilePhotoButton_Click(object sender, EventArgs e) {
- if (profilePhoto.PostedFile.ContentType == null) {
+ if (this.profilePhoto.PostedFile.ContentType == null) {
this.photoUploadedLabel.Visible = true;
this.photoUploadedLabel.Text = "Select a file first.";
return;
diff --git a/samples/OAuthServiceProvider/Members/Authorize.aspx.cs b/samples/OAuthServiceProvider/Members/Authorize.aspx.cs
index 4625949..74b44c5 100644
--- a/samples/OAuthServiceProvider/Members/Authorize.aspx.cs
+++ b/samples/OAuthServiceProvider/Members/Authorize.aspx.cs
@@ -60,10 +60,10 @@
sp.Channel.Send(response);
} else {
if (pending.IsUnsafeRequest) {
- verifierMultiView.ActiveViewIndex = 1;
+ this.verifierMultiView.ActiveViewIndex = 1;
} else {
string verifier = ServiceProvider.CreateVerificationCode(VerificationCodeFormat.AlphaNumericNoLookAlikes, 10);
- verificationCodeLabel.Text = verifier;
+ this.verificationCodeLabel.Text = verifier;
ITokenContainingMessage requestTokenMessage = pending;
var requestToken = Global.TokenManager.GetRequestToken(requestTokenMessage.Token);
requestToken.VerificationCode = verifier;