What is authentication in an ASP.NET Core MVC application?
Authentication determines who the current user is. ASP.NET Core authentication handlers examine credentials such as an authentication cookie or bearer token and, when valid, establish a ClaimsPrincipal on HttpContext.User.