diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-01-27 07:25:57 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-01-27 07:25:57 -0800 |
commit | e146cfee1b56de1eab711eba984081b3e542fb98 (patch) | |
tree | 4222b851fd96b00f96c0acd243c758bf160285d6 /samples/DotNetOpenAuth.ApplicationBlock | |
parent | 24e24a5f60f4f0eb67c5bdc47bea499cbf197fc7 (diff) | |
download | DotNetOpenAuth-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.cs | 2 |
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"; |