I was implementing the remember me option in a login form in an asp.net core MVC project, so I ran into the topic of saving a token in a cookie and that a cookie must exist in a scheme. As I understand, there is a default scheme which is named as “Cookies” by default.
I’m currently confused about the ConfigureApplicationCookie(...)
method, as I don’t know to which scheme is that cookie that we are configuring related to.
- Is it a cookie inside the Cookies scheme and if not, to which scheme is it related ?
- Is it existing by default and we configure it or it is created when we invoke that method ?