title: In ASP.net core Identity (UserManager & SignInManager) is it possible to ban a user immediately?
body: <p>I'm trying to find a way to provide an administrator of the application I'm developing with an effective way to quickly lockout a user who has either left the company or has been identified as behaving in a way that would warrant an immediate lockout or use of the application.</p>
  
  <p>So far it looks like I can;</p>
  
  <pre><code>//enable the account to be locked out
  _userManager.SetLockoutEnabledAsync(ApplicationUser user, true);
  
  //Set an arbitrary date way into the future to lock them out until I want to unlock them
  _userManager.SetLockoutEndDateAsync(ApplicationUser user, "01/01/2060");
  </code></pre>
  
  <p>But the above doesn't resolve if the user has a cookie with an expiration time of 30 min.  Meaning, the user can continue to use the app if they have already authenticated and are within the default time I'm using for cookies to remain valid.</p>
  
  <p>Is there a user manager method that changes the 'check' that cookie is bounced against?  I'm assuming the [Authorize] attribute tag is checking the cookie against something within Identity that is not exposed in the table.  Wondering how I change the 'check' values so that they don't match cookie session?</p>