OAuthWebSecurity.RegisterLinkedInClient Method (String, String, String)

Registers a LinkedIn client with a specified consumer key.

Namespace:  Microsoft.Web.WebPages.OAuth
Assembly:  Microsoft.Web.WebPages.OAuth (in Microsoft.Web.WebPages.OAuth.dll)

public static void RegisterLinkedInClient(
	string consumerKey,
	string consumerSecret,
	string displayName
)

Parameters

consumerKey
Type: System.String
A consumer key.
consumerSecret
Type: System.String
A consumer secret.
displayName
Type: System.String
The display name.

For an example of using the OAuthWebSecurity class, see Using OAuth Providers with MVC 4.

Show: