How to: Implement Passport Authentication in ASP.NET Applications

The Passport authentication provider uses the PassportAuthenticationModule module to provide a wrapper around the .NET Passport service for ASP.NET applications. The module provides Passport authentication services and sets the current User property to a PassportIdentity object based on the authentication information supplied by the .NET Passport service. The PassportIdentity object provides an interface to the Passport profile information and methods to encrypt and decrypt Passport authentication tickets.

To implement Passport authentication in an ASP.NET application

  1. Download, install, and configure the .NET Passport SDK from the .NET Passport Web site. You must complete a registration form to obtain the SDK. Windows Server 2003 includes the .NET Passport SDK and does not require this step.

  2. Set up Passport as the authentication mode in the application configuration file as follows.

    <authentication mode= "Passport"/>
    
  3. Using the Passport documentation and the .NET Passport SDK functionality, implement Passport authentication and authorization.

For more information on setting up an ASP.NET application to use Passport authentication, see the .NET Passport Service Guide Kit Web site.

See Also

Concepts

Passport Authentication Provider