Share via


OAuthWebSecurity.RegisterGoogleClient Method

Registers a Google client.

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

Syntax

'Declaration
Public Shared Sub RegisterGoogleClient
'Usage
OAuthWebSecurity.RegisterGoogleClient()
public static void RegisterGoogleClient()
public:
static void RegisterGoogleClient()
static member RegisterGoogleClient : unit -> unit
public static function RegisterGoogleClient()

Remarks

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

See Also

Reference

OAuthWebSecurity Class

RegisterGoogleClient Overload

Microsoft.Web.WebPages.OAuth Namespace