diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-05-08 07:43:13 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-05-08 07:43:13 -0700 |
commit | 3a5a761063327f919d72d04e47968c8556a6fd36 (patch) | |
tree | 962b5692889ff320985c3862b08a1527798a116f /samples/OAuthServiceProvider/Members/Authorize.aspx.cs | |
parent | 1be3ed304dcf79725ca099f8df54a601c26e145b (diff) | |
download | DotNetOpenAuth-3a5a761063327f919d72d04e47968c8556a6fd36.zip DotNetOpenAuth-3a5a761063327f919d72d04e47968c8556a6fd36.tar.gz DotNetOpenAuth-3a5a761063327f919d72d04e47968c8556a6fd36.tar.bz2 |
StyleCop fixes.
Diffstat (limited to 'samples/OAuthServiceProvider/Members/Authorize.aspx.cs')
-rw-r--r-- | samples/OAuthServiceProvider/Members/Authorize.aspx.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/OAuthServiceProvider/Members/Authorize.aspx.cs b/samples/OAuthServiceProvider/Members/Authorize.aspx.cs index ec98ddf..4625949 100644 --- a/samples/OAuthServiceProvider/Members/Authorize.aspx.cs +++ b/samples/OAuthServiceProvider/Members/Authorize.aspx.cs @@ -38,15 +38,15 @@ byte[] randomData = new byte[8]; CryptoRandomDataGenerator.GetBytes(randomData); this.AuthorizationSecret = Convert.ToBase64String(randomData); - OAuthAuthorizationSecToken.Value = this.AuthorizationSecret; + this.OAuthAuthorizationSecToken.Value = this.AuthorizationSecret; - OAuth10ConsumerWarning.Visible = Global.PendingOAuthAuthorization.IsUnsafeRequest; + this.OAuth10ConsumerWarning.Visible = Global.PendingOAuthAuthorization.IsUnsafeRequest; } } } protected void allowAccessButton_Click(object sender, EventArgs e) { - if (this.AuthorizationSecret != OAuthAuthorizationSecToken.Value) { + if (this.AuthorizationSecret != this.OAuthAuthorizationSecToken.Value) { throw new ArgumentException(); // probably someone trying to hack in. } this.AuthorizationSecret = null; // clear one time use secret @@ -74,7 +74,7 @@ protected void denyAccessButton_Click(object sender, EventArgs e) { // erase the request token. - multiView.ActiveViewIndex = 2; + this.multiView.ActiveViewIndex = 2; } } }
\ No newline at end of file |