LinkedInOAuthApi 0.3.3-pre
dotnet add package LinkedInOAuthApi --version 0.3.3-pre
NuGet\Install-Package LinkedInOAuthApi -Version 0.3.3-pre
<PackageReference Include="LinkedInOAuthApi" Version="0.3.3-pre" />
paket add LinkedInOAuthApi --version 0.3.3-pre
#r "nuget: LinkedInOAuthApi, 0.3.3-pre"
// Install LinkedInOAuthApi as a Cake Addin #addin nuget:?package=LinkedInOAuthApi&version=0.3.3-pre&prerelease // Install LinkedInOAuthApi as a Cake Tool #tool nuget:?package=LinkedInOAuthApi&version=0.3.3-pre&prerelease
Specifically for ASP.Net using the DotNetOpenAuth framework.
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- 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)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
0.3 - Updates to the DotNetOpenAuth.AspNet Version
- Added static method: LinkedInOAuthClient.CreateCookieBasedClient(key,secret,service description)
- Changed the ServiceDescriptions to useful names, removing a bit of redundant code
- LinkedInServiceDescription -> Authorize / LinkedInAuthenticationServiceDescription -> Authenticate
- Optional force authentication for ScopedPermissions
- Fixed broken package
0.2 - Contains Significant Breaking Changes From LinkedInToolKit
- Scoped Permissions (thanks paulirwin)
- Added an interface: ILinkedInService
- Added an Asp.Net OAuthClient / IAuthenticationClient LinkedInOAuthClient that implements ILinkedInService
- Removed two obsolete Methods (DeleteStatus and UpdateStatus)
- Removed Desktop references
Originally From the LinkedInToolKit 1.0.0.0
This project has been uploaded to GitHub.
Any Issues, report them to https://github.com/deeja/LinkedInDeveloperToolkit