Click or drag to resize

HttpConfigurationExtensionsEnableSessions Method

Adds session management to the HTTP configuration message handlers to enable GSF role-base security.

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
public static void EnableSessions(
	this HttpConfiguration httpConfig,
	AuthenticationOptions options
)
View Source

Parameters

httpConfig  HttpConfiguration
Target HttpConfiguration instance.
options  AuthenticationOptions
Authentication options.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpConfiguration. 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