Skip to content

Instantly share code, notes, and snippets.

@mclasson
Created Aug 3, 2017
Embed
What would you like to do?
public async Task<IActionResult> Logout()
{
await HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
return RedirectToAction("Index");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment