GoogleAuthenticationExtensions.UseGoogleAuthentication Method (IAppBuilder)
Note: This API is now obsolete.
Authenticate users using Google OpenId
Namespace: Owin
Assembly: Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)
Syntax
'Declaration
<ExtensionAttribute> _
<ObsoleteAttribute("Google is discontinuing support for the OpenId. Use OAuth2 instead.", _
False)> _
Public Shared Function UseGoogleAuthentication ( _
app As IAppBuilder _
) As IAppBuilder
'Usage
Dim app As IAppBuilder
Dim returnValue As IAppBuilder
returnValue = app.UseGoogleAuthentication()
[ObsoleteAttribute("Google is discontinuing support for the OpenId. Use OAuth2 instead.",
false)]
public static IAppBuilder UseGoogleAuthentication(
this IAppBuilder app
)
[ExtensionAttribute]
[ObsoleteAttribute(L"Google is discontinuing support for the OpenId. Use OAuth2 instead.",
false)]
public:
static IAppBuilder^ UseGoogleAuthentication(
IAppBuilder^ app
)
[<ObsoleteAttribute("Google is discontinuing support for the OpenId. Use OAuth2 instead.",
false)>]
static member UseGoogleAuthentication :
app:IAppBuilder -> IAppBuilder
public static function UseGoogleAuthentication(
app : IAppBuilder
) : IAppBuilder
Parameters
- app
Type: IAppBuilder
The IAppBuilder passed to the configuration method
Return Value
Type: IAppBuilder
The updated IAppBuilder
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IAppBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see b8020aae-374d-46a9-bcb7-8cc2390b93b6 or 175ce3ff-9bbf-4e64-8421-faeb81a0bb51.
See Also
Reference
GoogleAuthenticationExtensions Class