Passport authentication in .NET

ASP.NET directs the user to a Passport sign-on page. The Passport service authenticates the user, stores an authentication cookie on the user’s computer and direct the user to the requested page. Next time it'll checks the user’s machine for a passport authentication cookie. If it is not available, redirect to Passport sign-on page.
  • Install the Passport SDK.
  • Set the application’s authentication mode to Passport in Web.config.
  • Set authorization to deny unauthenticated users.
  • Use the PassportAuthentication_OnAuthenticate event to access the user’s Passport profile to identify and authorize the user.
  • Implement a sign-out procedure to remove Passport cookies from the user’s machine