public ActionResult Index() { ViewData["user_id"] = authInfo.GetUserID(); ViewData["auth"] = authStor.GetAuthMethod(); return(View()); }
public ActionResult Logout() { string auth = authStor.GetAuthMethod(); authInfo.SignOut(); if (auth != "forms") { ViewData["logout"] = ssoUrl + WebConfigurationManager.AppSettings["SSO_LOGOUT"]; } return(View()); }