The cookie authentication mechanism sends a secure cookie with authorization info. Every request made from a client to a server contains that secure cookie, and the server-side application can identify the user from the secure cookie.
Authentication in ASP.NET, using cookie authentication
An example project can be found at: https://github.com/polatengin/B05277/tree/master/Chapter17/1-CookieAuthenticationSample.
Get ASP.NET Core MVC 2.0 Cookbook 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.