Choosing an authentication mode

The authentication alternatives made available by ASP.NET Core are basically the same supported by the previous versions of ASP.NET:

  • No authentication: If we don't feel like implementing anything or if we want to use (or develop) something not relying upon the ASP.NET Identity system
  • Individual user accounts: When we want to set up an internal database to store user data using the standard ASP.NET Identity interface
  • Azure Active Directory: Using a token-based set of API calls handled by the Azure AD Authentication Library (ADAL)
  • Windows authentication: Viable for local-scope applications only

In Chapter 1, Getting Ready, when we created our project, we made the choice to go with an empty project featuring no authentication ...

Get ASP.NET Core: Cloud-ready, Enterprise Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.