Click or drag to resize

AppBuilderExtensionsUseAuthentication Method

Inserts GSF role-based security authentication into the Owin pipeline.

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
public static IAppBuilder UseAuthentication(
	this IAppBuilder app,
	AuthenticationOptions options
)
View Source

Parameters

app  IAppBuilder
Target IAppBuilder instance.
options  AuthenticationOptions
Authentication options.

Return Value

IAppBuilder
IAppBuilder instance.

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 Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also