Below are the steps to follow for using Passport Authentication:
1. In the first step, the Passport SDK should be installed. Although the .NET Framework does include classes for working with the Passport SDK once it is installed,Passport is not included with Visual Studio.
2. You have to set the application’s authentication mode to Passport in Web.config. And also set the authorization to deny unauthenticated users.
3. Inorder to access the user’s Passport profile to identify and authorize the user, you have to use the PassportAuthentication_OnAuthenticate event
4. Inorder to remove Passport cookies from the user’s machine, implement a sign-out procedure.
Asked In: Many Interviews |