summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-08 20:41:38 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-08 20:41:38 -0800
commit945b058634609684e72d6ea233d4643dd2f17a32 (patch)
treefcc8d2c3f8d99c4f368029007be4723bf8fd78ce
parent319ca41056c86fbbcfe89e90a34f2db24a506c3b (diff)
downloadDotNetOpenAuth-945b058634609684e72d6ea233d4643dd2f17a32.zip
DotNetOpenAuth-945b058634609684e72d6ea233d4643dd2f17a32.tar.gz
DotNetOpenAuth-945b058634609684e72d6ea233d4643dd2f17a32.tar.bz2
More stylecop fixes.
-rw-r--r--samples/OAuthClient/WindowsLive.aspx.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/samples/OAuthClient/WindowsLive.aspx.cs b/samples/OAuthClient/WindowsLive.aspx.cs
index ab5793b..f70147c 100644
--- a/samples/OAuthClient/WindowsLive.aspx.cs
+++ b/samples/OAuthClient/WindowsLive.aspx.cs
@@ -19,17 +19,16 @@
protected void Page_Load(object sender, EventArgs e) {
if (String.Equals("localhost", this.Request.Headers["Host"].Split(':')[0], StringComparison.OrdinalIgnoreCase)) {
- localhostDoesNotWorkPanel.Visible = true;
- var builder = new UriBuilder(publicLink.NavigateUrl);
+ this.localhostDoesNotWorkPanel.Visible = true;
+ var builder = new UriBuilder(this.publicLink.NavigateUrl);
builder.Port = this.Request.Url.Port;
- publicLink.NavigateUrl = builder.Uri.AbsoluteUri;
- publicLink.Text = builder.Uri.AbsoluteUri;
+ this.publicLink.NavigateUrl = builder.Uri.AbsoluteUri;
+ this.publicLink.Text = builder.Uri.AbsoluteUri;
} else {
IAuthorizationState authorization = client.ProcessUserAuthorization();
if (authorization == null) {
// Kick off authorization request
- client.RequestUserAuthorization(scope: new[] { WindowsLiveClient.Scopes.Basic });
- // this scope isn't even required just to log in
+ client.RequestUserAuthorization(scope: new[] { WindowsLiveClient.Scopes.Basic }); // this scope isn't even required just to log in
} else {
var request =
WebRequest.Create("https://apis.live.net/v5.0/me?access_token=" + Uri.EscapeDataString(authorization.AccessToken));