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
- displayName
Type: System.String
The display name.
Remarks
For an example of using the OAuthWebSecurity class, see Using OAuth Providers with MVC 4.