Export (0) Print
Expand All

OAuthWebSecurity.GetOAuthClientData Method

Returns an OAuth authentication client data with the specified provider.

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

public static AuthenticationClientData GetOAuthClientData(
	string providerName
)

Parameters

providerName
Type: System.String
The provider name.

Return Value

Type: Microsoft.Web.WebPages.OAuth.AuthenticationClientData
An OAuth authentication client data.

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

Show:
© 2014 Microsoft