| When we apply Passport authentication to our application it will first checks the users machine for a latest/Current passport authentication cookie and if avail it will use that and If it is not available then ASP.NET directs the user to a Passport signon page.Then Passport service authenticates the user and then stores an authentication cookie on the users computer and direct the user to the requested page.
Some steps to use Passport authentication:-
1. First of all install the Passport SDK.
2. Second step to Set the applications authentication mode to Passport in Web.config.
3. Third step is to Set authorization to deny unauthenticated users.
4. Use the PassportAuthentication_OnAuthenticate event to access the users Passport profile to identify and authorize the user.
5. Implement a sign-out procedure to remove Passport cookies from the user’s machine. | | |