GoogleAuthenticationExtensions.UseGoogleAuthentication Method (IAppBuilder, GoogleAuthenticationOptions)

Volá se poté, co middleware použije ověřování Google.

Namespace:  Owin
Assembly:  Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)

public static IAppBuilder UseGoogleAuthentication(
	this IAppBuilder app,
	GoogleAuthenticationOptions options
)

Parameters

app
Type: IAppBuilder
Tvůrce aplikací.
options
Type: Microsoft.Owin.Security.Google.GoogleAuthenticationOptions
Možnosti ověřování Google

Return Value

Type: IAppBuilder
Ověřování Google

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 https://msdn.microsoft.com/cs-cz/library/bb384936(v=vs.111).aspx or https://msdn.microsoft.com/cs-cz/library/bb383977(v=vs.111).aspx.
Zobrazit: