What are the types of Authentication in ASP.NET MVC?

Form Authentication - Forms authentication is a cookie-based authentication mechanism that uses user credentials stored in a database to authenticate users.


Passport Authentication - Passport authentication is a centralized authentication service provided by Microsoft. 


Token Authentication: Token authentication is a mechanism that uses JSON Web Tokens (JWT) to authenticate users. It is commonly used in Single Page Applications (SPA) or APIs where the user's credentials are not stored on the server.


Windows Authentication - Windows authentication is a mechanism that uses the user's Windows credentials to authenticate users. It is typically used in intranet scenarios where all users are part of the same Windows domain.



Post a Comment

Previous Post Next Post