SessionAuthenticationModule.InitializeModule Method (HttpApplication)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes the module and prepares it to handle events from the module's ASP.NET application object.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

protected override void InitializeModule(
	HttpApplication context


Type: System.Web.HttpApplication

The HTTP application object that contains this module.

Adds the OnAuthenticateRequest and the OnPostAuthenticateRequest handlers to the HttpApplication.AuthenticateRequest and HttpApplication.PostAuthenticateRequest events of the application object specified by the context parameter.

.NET Framework
Available since 4.5
Return to top