Skip to content

Instantly share code, notes, and snippets.

@mclasson

mclasson/HomeController.cs Secret

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
You can’t perform that action at this time.