public Form1() { InitializeComponent(); userName = UserNameTextBox.Text; password = PasswordTextBox.Text; this.securityHelper = new SecurityHelper(userName, password); this.appSettingsHelper = new RegistryAppSettingsHelper(this.securityHelper); this.client = AuthenticationClientUtils.CreateAuthenticationClient(this.appSettingsHelper); this.stateController = new AuthnStateController(this.client, this.appSettingsHelper, userName); }
public SmsFactor(AuthenticationClient authnClient, AuthnStateController stateController) { this.authnClient = authnClient; this.stateController = stateController; }