Ejemplo n.º 1
0
        internal SignInContext(SignInResultType resultType, string userID, ISignInInfo signInInfo, SignInPageData pageData, string clientInfo, System.Exception ex)
        {
            this.resultType = resultType;
            this.userID     = userID;
            this.signInInfo = signInInfo;
            this.pageData   = pageData;
            this.exception  = ex;

            this.clientInfo = new SignInClientInfo(clientInfo);
        }
Ejemplo n.º 2
0
        private void InitForm(SignInPageData pd)
        {
            if (pd.DontSaveUserID == false)
            {
                PassportWebControlHelper.SetControlValue(this.TemplateControl, "signInName", "Text", pd.UserID);
            }

            PassportWebControlHelper.SetControlValue(this.TemplateControl, "autoSignIn", "Checked", pd.AutoSignIn);
            PassportWebControlHelper.SetControlValue(this.TemplateControl, "dontSaveUserName", "Checked", pd.DontSaveUserID);
            PassportWebControlHelper.SetControlValue(this.TemplateControl, "autoSignIn", "Visible", PassportSignInSettings.GetConfig().IsSessionBased == false);
        }
Ejemplo n.º 3
0
 private void SaveFormStatus(SignInPageData pageData)
 {
     pageData.SaveToCookie();
 }