I am using Claims based authentication and the IAuthenticationManager interface to sign in and sign out and so forth. My question is this. How do I give the cookie that is generated a custom name?

有帮助吗?

解决方案

The CookieAuthenticationOptions that you pass into app.UseCookieAuthentication has a CookieName property.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top