PassportAuthenticationModule Class

Provides a wrapper around Passport Authentication services. This class cannot be inherited.

Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)

public ref class PassportAuthenticationModule sealed : IHttpModule
public final class PassportAuthenticationModule implements IHttpModule
public final class PassportAuthenticationModule implements IHttpModule
Not applicable.

You must install the Passport SDK in order to use the.NET Passport classes and methods. Passport SDK version 1.4 is supported but not recommended. Passport SDK version 2.0 is both supported and recommended.

Caution noteCaution:

Only Passport SDK version 2.0 is supported under Windows XP.

The PassportAuthentication_OnAuthenticate event is raised for applications that are designed to attach a custom IPrincipal object to the context. The Passport service itself does the authentication, so that cannot be overridden.

How to: Implement Passport Authentication in ASP.NET ApplicationsBuilding ASP .NET Web Applications

  • AspNetHostingPermission  for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0