Вопрос

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