AuthenticationClientManagerExtensions.AddGoogle Method (AuthenticationClientManager)
.NET Framework 4
Adds support for logging in with a Google account.
Namespace: Microsoft.AspNet.Membership.OpenAuth
Assembly: Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub AddGoogle ( _
clients As AuthenticationClientManager _
)
'Usage
Dim clients As AuthenticationClientManager
clients.AddGoogle()
public static void AddGoogle(
this AuthenticationClientManager clients
)
[ExtensionAttribute]
public:
static void AddGoogle(
AuthenticationClientManager^ clients
)
static member AddGoogle :
clients:AuthenticationClientManager -> unit
public static function AddGoogle(
clients : AuthenticationClientManager
)
Parameters
- clients
Type: Microsoft.AspNet.Membership.OpenAuth.AuthenticationClientManager
The OpenAuth client manager.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type AuthenticationClientManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).