summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.AspNet/Clients/OAuth/LinkedInClient.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-05-07 10:03:12 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-05-07 10:03:12 -0700
commit957a1811bc69a033a16b00d755a88ceeaf3fced6 (patch)
treeded97d06a1bec55e0d6bad85d079c2d4b412aa1d /src/DotNetOpenAuth.AspNet/Clients/OAuth/LinkedInClient.cs
parenta85cd1c7bb0a22ee08056a19ce60173e3ab8e0e0 (diff)
parentb6dff7d1a6b5b07450b82688ec4727b3e2617ff5 (diff)
downloadDotNetOpenAuth-957a1811bc69a033a16b00d755a88ceeaf3fced6.zip
DotNetOpenAuth-957a1811bc69a033a16b00d755a88ceeaf3fced6.tar.gz
DotNetOpenAuth-957a1811bc69a033a16b00d755a88ceeaf3fced6.tar.bz2
Merge pull request #140 from dotnetjunky/v4.0
Use cookie to store OAuth token and set it as default mechanism.
Diffstat (limited to 'src/DotNetOpenAuth.AspNet/Clients/OAuth/LinkedInClient.cs')
-rw-r--r--src/DotNetOpenAuth.AspNet/Clients/OAuth/LinkedInClient.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth/LinkedInClient.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth/LinkedInClient.cs
index d349576..ac8186d 100644
--- a/src/DotNetOpenAuth.AspNet/Clients/OAuth/LinkedInClient.cs
+++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth/LinkedInClient.cs
@@ -48,6 +48,9 @@ namespace DotNetOpenAuth.AspNet.Clients {
/// <summary>
/// Initializes a new instance of the <see cref="LinkedInClient"/> class.
/// </summary>
+ /// <remarks>
+ /// Tokens exchanged during the OAuth handshake are stored in cookies.
+ /// </remarks>
/// <param name="consumerKey">
/// The LinkedIn app's consumer key.
/// </param>
@@ -57,7 +60,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope",
Justification = "We can't dispose the object because we still need it through the app lifetime.")]
public LinkedInClient(string consumerKey, string consumerSecret)
- : base("linkedIn", LinkedInServiceDescription, consumerKey, consumerSecret) { }
+ : this(consumerKey, consumerSecret, new AuthenticationOnlyCookieOAuthTokenManager()) { }
/// <summary>
/// Initializes a new instance of the <see cref="LinkedInClient"/> class.