|
HttpConfigurationExtensionsEnableSessions Method
|
Adds session management to the HTTP configuration message handlers to enable GSF role-base security.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax GSF.Web.Security.HttpConfigurationExtensions.EnableSessions = function(httpConfig, options);
View SourceParameters
- 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