Info
Version: | 0.3.3-pre |
Author(s): | Deeja |
Last Update: | Sunday, January 27, 2013 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/deeja/LinkedInDeveloperToolkit |
NuGet Url: | https://www.nuget.org/packages/LinkedInOAuthApi |
Install
Install-Package LinkedInOAuthApi
dotnet add package LinkedInOAuthApi
paket add LinkedInOAuthApi
LinkedInOAuthApi Download (Unzip the "nupkg" after downloading)
Dependencies
- DotNetOpenAuth.AspNet(4.2.1.13026)
- DotNetOpenAuth.Core(4.2.1.13026)
- DotNetOpenAuth.OAuth.Consumer(4.2.1.13026)
- DotNetOpenAuth.OAuth.Core(4.2.1.13026)
Tags
IoC friendly using ILinkedInService interface.
LinkedInOAuthClient linkedInOAuthClient = new LinkedInOAuthClient(...);
OR
LinkedInOAuthClient linkedInOAuthClient = LinkedInOAuthClient.CreateCookieBasedClient(...)
THEN
OAuthWebSecurity.RegisterClient((IAuthenticationClient)linkedInOAuthClient, "LinkedIn", null);
..
after login ...
Person me = client.GetCurrentUser();
var id = me.PersonId;
Samples: https://github.com/deeja/LinkedInDeveloperToolkit.