public IHttpActionResult Logoff() { _signInManager.SignOut(); return(Ok()); }
public ActionResult SignOut() { _signinManager.SignOut(); return(RedirectToAction("Index", new { node = ContentReference.StartPage })); }
public void Invoke(object sender, object element) { _signInManager.SignOut(); HttpContext.Current.Response.Redirect("~/Apps/Shell/Pages/Login.aspx"); HttpContext.Current.Response.End(); }
public ActionResult Logout() { ApplicationSignInManager <ApplicationUser> .SignOut(DefaultAuthenticationTypes.ApplicationCookie); return(RedirectToAction("Login")); }
public void SignOut() { _signInManager.SignOut(); }