Share via


OAuthWebSecurity.RegisterYahooClient Method (String)

Registers a Yahoo client.

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

Syntax

'Declaration
Public Shared Sub RegisterYahooClient ( _
    displayName As String _
)
'Usage
Dim displayName As String 

OAuthWebSecurity.RegisterYahooClient(displayName)
public static void RegisterYahooClient(
    string displayName
)
public:
static void RegisterYahooClient(
    String^ displayName
)
static member RegisterYahooClient : 
        displayName:string -> unit
public static function RegisterYahooClient(
    displayName : String
)

Parameters

Remarks

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

See Also

Reference

OAuthWebSecurity Class

RegisterYahooClient Overload

Microsoft.Web.WebPages.OAuth Namespace