|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Implement Passport Authentication in ASP.NET Applications
The Passport authentication provider uses themodule to provide a wrapper around the .NET Passport service for ASP.NET applications. The module provides Passport authentication services and sets the current property to a 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
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.
Set up Passport as the authentication mode in the application configuration file as follows.
<authentication mode= "Passport"/>
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.