AuthenticationClientManagerExtensions.AddGoogle Method (AuthenticationClientManager, Object)
.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, _
extraData As Object _
)
'Usage
Dim clients As AuthenticationClientManager
Dim extraData As Object
clients.AddGoogle(extraData)
public static void AddGoogle(
this AuthenticationClientManager clients,
Object extraData
)
[ExtensionAttribute]
public:
static void AddGoogle(
AuthenticationClientManager^ clients,
Object^ extraData
)
static member AddGoogle :
clients:AuthenticationClientManager *
extraData:Object -> unit
public static function AddGoogle(
clients : AuthenticationClientManager,
extraData : Object
)
Parameters
- clients
Type: Microsoft.AspNet.Membership.OpenAuth.AuthenticationClientManager
The OpenAuth client manager.
- extraData
Type: System.Object
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).