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);
        }
Exemple #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);
        }
Exemple #3
0
 private void SaveFormStatus(SignInPageData pageData)
 {
     pageData.SaveToCookie();
 }