skip to Main Content

How to force logout somebody from ASP.NET using Cookies

I would like to know what is the way to force logout somebody when I ban them? I am using this way of login process private async Task SignInWithRoleAsync(string email, string userRoleName) { var identity = new ClaimsIdentity(CookieAuthenticationDefaults.AuthenticationScheme); identity.AddClaim(new Claim(ClaimTypes.Email,…

VIEW QUESTION
Back To Top
Search