Пример #1
0
        public ActionResult ExternalLoginsList(string returnUrl)
        {
            Authentication.Models.Account.ExternalLoginList model = new Authentication.Models.Account.ExternalLoginList
            {
                ReturnUrl = returnUrl,
                Logins    = Authentication.OAuthSecurity.GetLogins()
            };

            return(PartialView("~/Views/Account/_LoginModal.cshtml", model));
        }
Пример #2
0
        public ActionResult ExternalLoginsList(string returnUrl)
        {
            Authentication.Models.Account.ExternalLoginList model = new Authentication.Models.Account.ExternalLoginList
            {
                ReturnUrl = returnUrl,
                Logins = Authentication.OAuthSecurity.GetLogins()
            };

            return PartialView("~/Views/Account/_LoginModal.cshtml", model);
        }