WSFederationAuthenticationModule.InitializeModule(HttpApplication) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the module and prepares it to handle events from the module's ASP.NET application object.
protected:
override void InitializeModule(System::Web::HttpApplication ^ context);
protected override void InitializeModule (System.Web.HttpApplication context);
override this.InitializeModule : System.Web.HttpApplication -> unit
Protected Overrides Sub InitializeModule (context As HttpApplication)
Parameters
- context
- HttpApplication
The HTTP application object that contains this module.
Exceptions
context
is null
.
Remarks
Adds handlers for ASP.NET pipeline events according to the following table.
Event | Handler |
---|---|
HttpApplication.AuthenticateRequest | OnAuthenticateRequest |
HttpApplication.EndRequest | OnEndRequest |
HttpApplication.PostAuthenticateRequest | OnPostAuthenticateRequest |
Note
The module properties, such as Issuer , are initialized from the InitializePropertiesFromConfiguration method.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.