Пример #1
0
        public ActionResult LoginIframeWeb(bool usewebmessaging = false)
        {
            string url = LogInUrl(language: Languages.NO, bankIdType: BankIDType.WEB, iFrame: true,
                                  internalId: sessionId, helper: Url, UseWebMessaging: usewebmessaging);

            ViewBag.Title = "Logg inn";
            var vm = new LoginModel()
            {
                Url = url,
                UseWebMessaging = usewebmessaging,
            };
            return View("LoginIframe", vm);
        }
Пример #2
0
        public ActionResult LoginIframeMobile()
        {
            string url = LogInUrl(language: Languages.NO, bankIdType: BankIDType.MOBILE, iFrame: true,
                              internalId: sessionId, helper: Url);

            ViewBag.Title = "Logg inn";
            var vm = new LoginModel()
            {
                Url = url,
            };
            return View("LoginIframe", vm);
        }