I am interested in building my own login system, which keeps me away from the out of the box Identity, which hides a lot of details.
I was taking a look at Authentication using cookies.
https://dotnetcoretutorials.com/2017/09/16/cookie-authentication-asp-net-core-2-0/
Talking about the details of signing process which happens behind the scenes (saving sessions, cookies, writing something to the database, etc...). I am interested to know:
What does HTTPContext.SignInAsync function do to my HTTP request and response exactly? Or in other words, how does this function sign someone in?