summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumerWpf/MainWindow.xaml.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-06-07 21:29:29 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-06-07 21:29:29 -0700
commitb3a35b9ae0823dda35bb07b404c9c09fec09402a (patch)
treeb58aaf62cf23c1e2c06a0f1d5f13ab899fff6a04 /samples/OAuthConsumerWpf/MainWindow.xaml.cs
parent8ed398b9151c8fc140379756bd3bd546a46daf05 (diff)
downloadDotNetOpenAuth-b3a35b9ae0823dda35bb07b404c9c09fec09402a.zip
DotNetOpenAuth-b3a35b9ae0823dda35bb07b404c9c09fec09402a.tar.gz
DotNetOpenAuth-b3a35b9ae0823dda35bb07b404c9c09fec09402a.tar.bz2
Lots of StyleCop work, and one bug fix (can you find it? <g>)
Diffstat (limited to 'samples/OAuthConsumerWpf/MainWindow.xaml.cs')
-rw-r--r--samples/OAuthConsumerWpf/MainWindow.xaml.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/OAuthConsumerWpf/MainWindow.xaml.cs b/samples/OAuthConsumerWpf/MainWindow.xaml.cs
index 1586e0d..749a626 100644
--- a/samples/OAuthConsumerWpf/MainWindow.xaml.cs
+++ b/samples/OAuthConsumerWpf/MainWindow.xaml.cs
@@ -224,7 +224,7 @@
var address = new Uri(wrapResourceUrlBox.Text);
address = new Uri(wrapResourceUrlBox.Text + (string.IsNullOrEmpty(address.Query) ? "?" : string.Empty) + "access_token=" + Uri.EscapeDataString(authorizePopup.Authorization.AccessToken));
var request = (HttpWebRequest)WebRequest.Create(address);
-
+
// This method tacks on the Authorization header
client.AuthorizeRequest(request, authorizePopup.Authorization);
@@ -240,7 +240,6 @@
} catch (DotNetOpenAuth.Messaging.ProtocolException ex) {
MessageBox.Show(this, ex.Message);
}
-
}
}
}