WSFederationAuthenticationModule.InitializeModule Method (HttpApplication)

.NET Framework (current version)
 

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
)

Parameters

context
Type: System.Web.HttpApplication

The HTTP application object that contains this module.

Exception Condition
ArgumentNullException

context is null.

Adds handlers for ASP.NET pipeline events according to the following table.

Event

Handler

HttpApplication.AuthenticateRequest

OnAuthenticateRequest

HttpApplication.EndRequest

OnEndRequest

HttpApplication.PostAuthenticateRequest

OnPostAuthenticateRequest

System_CAPS_noteNote

The module properties, such as Issuer , are initialized from the InitializePropertiesFromConfiguration method.

.NET Framework
Available since 4.5
Return to top
Show: