summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.ApplicationBlock
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-01-27 07:25:57 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-01-27 07:25:57 -0800
commite146cfee1b56de1eab711eba984081b3e542fb98 (patch)
tree4222b851fd96b00f96c0acd243c758bf160285d6 /samples/DotNetOpenAuth.ApplicationBlock
parent24e24a5f60f4f0eb67c5bdc47bea499cbf197fc7 (diff)
downloadDotNetOpenAuth-e146cfee1b56de1eab711eba984081b3e542fb98.zip
DotNetOpenAuth-e146cfee1b56de1eab711eba984081b3e542fb98.tar.gz
DotNetOpenAuth-e146cfee1b56de1eab711eba984081b3e542fb98.tar.bz2
Samples all build now.
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock')
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/TwitterConsumer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/TwitterConsumer.cs b/samples/DotNetOpenAuth.ApplicationBlock/TwitterConsumer.cs
index 9cbedb6..455ccf3 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/TwitterConsumer.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/TwitterConsumer.cs
@@ -216,7 +216,7 @@ namespace DotNetOpenAuth.ApplicationBlock {
/// <c>return StartSignInWithTwitter().<see cref="MessagingUtilities.AsActionResult">AsActionResult()</see></c>
/// to actually perform the redirect.
/// </remarks>
- public static async Task<HttpResponseMessage> StartSignInWithTwitterAsync(bool forceNewLogin, CancellationToken cancellationToken) {
+ public static async Task<HttpResponseMessage> StartSignInWithTwitterAsync(bool forceNewLogin = false, CancellationToken cancellationToken = default(CancellationToken)) {
var redirectParameters = new Dictionary<string, string>();
if (forceNewLogin) {
redirectParameters["force_login"] = "true";