コード例 #1
0
        public ActionResult LogOn(string returnUrl)
        {
            //string resultUrl = CASHelper.Login(); //Do the CAS Login

            //if (resultUrl != null)
            //{
            //    return Redirect(resultUrl);
            //}

            //TempData["URL"] = returnUrl;

            //return View();

            return(CasMvc.LoginAndRedirect());
        }
コード例 #2
0
 public ActionResult Index()
 {
     return(CasMvc.LoginAndRedirect());
 }
コード例 #3
0
 public ActionResult LogOn(string returnUrl)
 {
     return(CasMvc.LoginAndRedirect());
 }