/// <summary> /// Initializes a new instance of the <see cref="JediOmniAuthenticator"/> class. /// </summary> /// <param name="device">The device.</param> /// <param name="credential">The credential.</param> /// <param name="provider">The provider.</param> public JediOmniAuthenticator(JediOmniDevice device, AuthenticationCredential credential, AuthenticationProvider provider) : base(credential, provider) { ControlPanel = device.ControlPanel; _provider = provider; // The ProviderMap maps the text on the device, authentication drop down, to the authentication provider enum. ProviderMap.Add(AuthenticationProvider.Windows, new ProviderMapItem("Windows", "Windows")); ProviderMap.Add(AuthenticationProvider.DSS, new ProviderMapItem("DSS", "DSS")); ProviderMap.Add(AuthenticationProvider.LDAP, new ProviderMapItem("LDAP", "LDAP")); ProviderMap.Add(AuthenticationProvider.LocalDevice, new ProviderMapItem("Local Device", "Local Device")); ProviderMap.Add(AuthenticationProvider.SafeCom, new ProviderMapItem("SafeCom", "SafeCom")); ProviderMap.Add(AuthenticationProvider.SafeComUC, new ProviderMapItem("KOFAX", "KOFAX")); ProviderMap.Add(AuthenticationProvider.HpacDra, new ProviderMapItem("HPAC - DRA Server", "HPAC - DRA Server")); ProviderMap.Add(AuthenticationProvider.HpacIrm, new ProviderMapItem("HPAC - IRM Server", "HPAC - IRM Server")); ProviderMap.Add(AuthenticationProvider.HpacAgentLess, new ProviderMapItem("IRM Authentication", "IRM Authentication")); ProviderMap.Add(AuthenticationProvider.HpacPic, new ProviderMapItem("HPAC - PIC Server", "HPAC - PIC Server")); ProviderMap.Add(AuthenticationProvider.HpacWindows, new ProviderMapItem("HPAC-Windows", "HPAC-Windows")); ProviderMap.Add(AuthenticationProvider.Equitrac, new ProviderMapItem("Equitrac Authentication Agent", "Equitrac Authentication Agent")); ProviderMap.Add(AuthenticationProvider.EquitracWindows, new ProviderMapItem("Equitrac Authentication Agent", "Equitrac Authentication Agent")); ProviderMap.Add(AuthenticationProvider.Blueprint, new ProviderMapItem("Pharos Authentication Agent", "Pharos Authentication Agent")); ProviderMap.Add(AuthenticationProvider.PaperCut, new ProviderMapItem("PaperCut", "PaperCut")); ProviderMap.Add(AuthenticationProvider.ISecStar, new ProviderMapItem("User Authentication", "User Authentication")); ProviderMap.Add(AuthenticationProvider.Celiveo, new ProviderMapItem("Celiveo Authentication", "Celiveo Authentication")); ProviderMap.Add(AuthenticationProvider.SafeQ, new ProviderMapItem("YSoft SafeQ", "YSoft SafeQ")); ProviderMap.Add(AuthenticationProvider.AutoStore, new ProviderMapItem("AutoStore", "AutoStore")); ProviderMap.Add(AuthenticationProvider.PaperCutAgentless, new ProviderMapItem("PaperCut MF", "PaperCut MF")); ProviderMap.Add(AuthenticationProvider.UdocxScan, new ProviderMapItem("Udocx Scan", "Udocx Scan")); ProviderMap.Add(AuthenticationProvider.GeniusBytesGuest, new ProviderMapItem("Genius Bytes Guest Login", "Genius Bytes Guest Login")); ProviderMap.Add(AuthenticationProvider.GeniusBytesManual, new ProviderMapItem("Genius Bytes Manual Login", "Genius Bytes Manual Login")); ProviderMap.Add(AuthenticationProvider.GeniusBytesPin, new ProviderMapItem("Genius Bytes PIN Login", "Genius Bytes PIN Login")); ProviderMap.Add(AuthenticationProvider.HpRoamPin, new ProviderMapItem("Embedded Badge Authentication", "Embedded Badge Authentication")); ProviderMap.Add(AuthenticationProvider.HpId, new ProviderMapItem("HP Login", "HP Login")); }
/// <summary> /// Initializes a new instance of the <see cref="JediOmniUdocxScanAuthenticator" /> class. /// </summary> /// <param name="controlPanel">The <see cref="JediOmniControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public JediOmniUdocxScanAuthenticator(JediOmniControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) : base(controlPanel, credential, pacekeeper) { _engine = new OxpdBrowserEngine(controlPanel); _controlPanel = controlPanel; _idleTimeoutOffset = TimeSpan.FromMilliseconds(1000); }
/// <summary> /// Constructs a new instance of <see cref="JediOmniSkipAuthenticator" /> /// </summary> /// <param name="device"></param> /// <param name="credential"></param> public JediOmniSkipAuthenticator(IDevice device, AuthenticationCredential credential) { Device = (JediOmniDevice)device; Credential = credential; Provider = AuthenticationProvider.Skip; InitializationMethod = AuthenticationInitMethod.DoNotSignIn; LazyAuthOnly = false; }
/// <summary> /// Initializes a new instance of the <see cref="OzWindjammerAuthenticator"/> class. /// </summary> /// <param name="device">The device.</param> /// <param name="credential">The credential.</param> /// <param name="provider">The provider.</param> public OzWindjammerAuthenticator(OzWindjammerDevice device, AuthenticationCredential credential, AuthenticationProvider provider) : base(credential, provider) { if (device == null) { throw new ArgumentNullException(nameof(device)); } ControlPanel = device.ControlPanel; }
/// <summary> /// Initializes a new instance of the <see cref="JediOmniAppAuthenticatorBase" /> class. /// </summary> /// <param name="controlPanel">The <see cref="JediOmniControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> protected JediOmniAppAuthenticatorBase(JediOmniControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) { ControlPanel = controlPanel; Credential = credential; Pacekeeper = pacekeeper; _popupManager = new JediOmniPopupManager(controlPanel); _oxpdEngine = new Lazy<OxpdBrowserEngine>(() => new OxpdBrowserEngine(controlPanel)); }
/// <summary> /// Initializes a new instance of the <see cref="PhoenixMagicFrameAuthenticator"/> class. /// </summary> /// <param name="device">The device.</param> /// <param name="credential">The credential.</param> /// <param name="provider">The provider.</param> public PhoenixMagicFrameAuthenticator(PhoenixMagicFrameDevice device, AuthenticationCredential credential, AuthenticationProvider provider) : base(credential, provider) { if (device == null) { throw new ArgumentNullException(nameof(device)); } ControlPanel = device.ControlPanel; }
/// <summary> /// Initializes a new instance of the <see cref="SiriusUIv3Authenticator"/> class. /// </summary> /// <param name="device">The device.</param> /// <param name="credential">The credential.</param> /// <param name="provider">The provider.</param> public SiriusUIv3Authenticator(SiriusUIv3Device device, AuthenticationCredential credential, AuthenticationProvider provider) { Credential = credential; Provider = provider; ControlPanel = device.ControlPanel; ProviderMap.Add(AuthenticationProvider.Windows, new ProviderMapItem("Windows", "Windows")); ProviderMap.Add(AuthenticationProvider.DSS, new ProviderMapItem("DSS", "DSS")); ProviderMap.Add(AuthenticationProvider.LocalDevice, new ProviderMapItem("Local Device", "Local Device")); ProviderMap.Add(AuthenticationProvider.SafeCom, new ProviderMapItem("SafeCom", "SafeCom")); ProviderMap.Add(AuthenticationProvider.HpacDra, new ProviderMapItem("DRA Authentication", "DRA Authentication")); ProviderMap.Add(AuthenticationProvider.HpacIrm, new ProviderMapItem("IRM Authentication", "IRM Authentication")); ProviderMap.Add(AuthenticationProvider.Equitrac, new ProviderMapItem("Equitrac Authentication Agent", "Equitrac Authentication Agent")); }
/// <summary> /// Initializes a new instance of the <see cref="JediOmniCardAuthenticator" /> class. /// </summary> /// <param name="controlPanel">The <see cref="JediOmniControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public JediOmniCardAuthenticator(JediOmniControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) : base(controlPanel, credential, pacekeeper) { //Check card with user _badge = Credential.BadgeBoxInfo.Badges.FirstOrDefault(x => x.UserName.Equals(Credential.UserName, StringComparison.OrdinalIgnoreCase)); if (_badge == null) { throw new DeviceInvalidOperationException($"Unable to find badge info for User {Credential.UserName}"); } RobotControllerClient badgeBox = new RobotControllerClient(Credential.BadgeBoxInfo.Address); _badgeBoxEndPoint = badgeBox.GetEndpoint <RfidSwitch>(); }
private void AuthenticateOmni(string deviceIP, string userName) { IDevice device = DeviceFactory.Create(deviceIP, "!QAZ2wsx"); //AuthenticationCredential credential = new AuthenticationCredential(userName, "1qaz2wsx", "etl.boi.rd.hpicorp.net"); AuthenticationCredential credential = new AuthenticationCredential("03000"); JediOmniPreparationManager prepMgr = new JediOmniPreparationManager(((JediOmniDevice)device)); JediOmniLaunchHelper helper = new JediOmniLaunchHelper((JediOmniDevice)device); // Set up the device for Authentication prepMgr.Reset(); helper.PressSignInButton(); IAuthenticator authenticator = AuthenticatorFactory.Create(device, credential, AuthenticationProvider.Auto); authenticator.Authenticate(); }
public IActionResult Logout(AuthenticationCredential authentication) { User user = _sqlUserHandler.GetUser(authentication.UserName); if (user == null) { return(BadRequest()); } if (user.IsValidToken(authentication.Token)) { _sqlUserHandler.DeleteUserToken(authentication.UserName); return(Ok("successfully logged out")); } return(BadRequest()); }
/// <summary> /// Gets the authenticator for the given device and requested solution. /// </summary> /// <param name="device">The device.</param> /// <param name="deviceInfo">Device information</param> /// <returns>IAuthenticator</returns> private IAuthenticator GetAuthenticator(IDevice device, IDeviceInfo deviceInfo) { AuthenticationCredential authCredential = null; if (_activityData.AuthProvider == AuthenticationProvider.Card || _activityData.AuthMethod.GetDescription().Contains("Badge")) { authCredential = new AuthenticationCredential(_executionData, deviceInfo.AssetId, deviceInfo.Address); } else { authCredential = new AuthenticationCredential(_executionData.Credential); } IAuthenticator auth = AuthenticatorFactory.Create(device, authCredential, _activityData.AuthProvider); auth.WorkflowLogger = _workflowLogger; return(auth); }
/// <summary> /// Initializes a new instance of the <see cref="RoamAndroidAuthenticator"/> class. /// </summary> /// <param name="pluginExecutionData">The plugin execution data.</param> /// <param name="activityData">The plugin activity data.</param> /// <param name="controller">The SES controller.</param> /// <param name="androidHelper">The android helper.</param> public RoamAndroidAuthenticator(PluginExecutionData pluginExecutionData, HpRoamActivityData activityData, SESLib controller, AndroidHelper androidHelper) { Provider = activityData.AuthProvider; _controller = controller; _androidHelper = androidHelper; switch (activityData.AuthProvider) { case AuthenticationProvider.HpId: ExternalCredentialInfo externalCredential = pluginExecutionData.ExternalCredentials.Where(x => x.Provider == ExternalCredentialType.HpId).FirstOrDefault(); Credential = new AuthenticationCredential(externalCredential.UserName, externalCredential.Password, pluginExecutionData.Credential.Domain); break; default: Credential = new AuthenticationCredential(pluginExecutionData.Credential); break; } }
public async Task Test32_Logout_ValidCredential_ShouldReturnOk() { // Arrange string url = "api/logout"; AuthenticationCredential userCred = new AuthenticationCredential("username", _token); // we should get the token string output = JsonConvert.SerializeObject(userCred); var req = new HttpRequestMessage(HttpMethod.Post, url) { Content = new StringContent(output, Encoding.UTF8, "application/json") }; // Act var response = await _client.SendAsync(req); // Assert Assert.IsTrue(response.StatusCode == HttpStatusCode.OK); }
/// <summary> /// Initializes the authenticator. /// </summary> /// <param name="provider">The provider.</param> protected virtual void InitializeAuthenticator(AuthenticationProvider provider) { switch (provider) { case AuthenticationProvider.HpId: ExternalCredentialInfo externalCredential = ExecutionData.ExternalCredentials.Where(x => x.Provider == ExternalCredentialType.HpId).FirstOrDefault(); AuthenticationCredential authCredential = new AuthenticationCredential(externalCredential.UserName, externalCredential.Password, ExecutionData.Credential.Domain); Authenticator = AuthenticatorFactory.Create(Device, authCredential, provider); break; default: Authenticator = AuthenticatorFactory.Create(DeviceInfo.AssetId, Device, provider, ExecutionData); break; } if (Authenticator != null) { Authenticator.WorkflowLogger = _workflowLogger; } }
/// <summary> /// Initializes a new instance of the <see cref="JediWindjammerAuthenticator"/> class. /// </summary> /// <param name="device">The device.</param> /// <param name="credential">The credential.</param> /// <param name="provider">The provider.</param> public JediWindjammerAuthenticator(JediWindjammerDevice device, AuthenticationCredential credential, AuthenticationProvider provider) : base(credential, provider) { ControlPanel = device.ControlPanel; _provider = provider; ProviderMap.Add(AuthenticationProvider.Windows, new ProviderMapItem("Windows", "Windows")); ProviderMap.Add(AuthenticationProvider.DSS, new ProviderMapItem("DSS", "DSS")); ProviderMap.Add(AuthenticationProvider.LDAP, new ProviderMapItem("LDAP", "LDAP")); ProviderMap.Add(AuthenticationProvider.LocalDevice, new ProviderMapItem("Local Device", "Local Device")); ProviderMap.Add(AuthenticationProvider.SafeCom, new ProviderMapItem("SafeCom", "SafeCom")); ProviderMap.Add(AuthenticationProvider.HpacDra, new ProviderMapItem("HPAC - DRA Server", "HPAC - DRA Server")); ProviderMap.Add(AuthenticationProvider.HpacIrm, new ProviderMapItem("HPAC - IRM Server", "HPAC - IRM Server")); ProviderMap.Add(AuthenticationProvider.HpacWindows, new ProviderMapItem("HPAC-Windows", "HPAC-Windows")); ProviderMap.Add(AuthenticationProvider.HpacAgentLess, new ProviderMapItem("Code Expected", "Code Expected")); // HPAC AgentLess first screen ProviderMap.Add(AuthenticationProvider.Equitrac, new ProviderMapItem("Equitrac Embedded", "Equitrac Authentication Agent")); ProviderMap.Add(AuthenticationProvider.EquitracWindows, new ProviderMapItem("Equitrac-Windows", "Equitrac-Windows")); ProviderMap.Add(AuthenticationProvider.Blueprint, new ProviderMapItem("Pharos Authentication Service", "Pharos Authentication Service")); ProviderMap.Add(AuthenticationProvider.AutoStore, new ProviderMapItem("AutoStore", "AutoStore")); ProviderMap.Add(AuthenticationProvider.HpRoamPin, new ProviderMapItem("Embedded Badge Authentication", "Embedded Badge Authentication")); ProviderMap.Add(AuthenticationProvider.PaperCut, new ProviderMapItem("PaperCut", "PaperCut")); }
/// <summary> /// Execution Entry point /// Individual function differences separated into delagate methods. /// </summary> /// <param name="device"></param> /// <param name="assetInfo"></param> /// <param name="data"></param> /// <returns></returns> public bool ExecuteJob(JediDevice device, AssetInfo assetInfo, Framework.Plugin.PluginExecutionData data) { ITraySettingsApp traySettingsApp = TraySettingsAppFactory.Create(device); try { NetworkCredential cred = new NetworkCredential("admin", device.AdminPassword); AuthenticationCredential auhcred = new AuthenticationCredential(cred); IAuthenticator auth = AuthenticatorFactory.Create(device, auhcred, AuthenticationProvider.Auto); if (CheckExecuteStatus(_traySettings)) { traySettingsApp.Launch(auth, AuthenticationMode.Lazy); traySettingsApp.ManageTraySettings(this._traySettings); } return(true); } catch (Exception ex) { _failedSettings.AppendLine($"Failed to set field speed Dial: {ex.Message}"); throw new DeviceWorkflowException("Manage Trays cannot be created."); } }
/// <summary> /// Execution Entry point /// Individual function differences separated into delagate methods. /// </summary> /// <param name="device"></param> /// <param name="assetInfo"></param> /// <param name="data"></param> /// <returns></returns> public bool ExecuteJob(JediDevice device, AssetInfo assetInfo, Framework.Plugin.PluginExecutionData data) { IContactsApp contactsApp = ContactsAppFactory.Create(device); try { if (DisplayName.Value) { NetworkCredential cred = new NetworkCredential("admin", device.AdminPassword); AuthenticationCredential auhcred = new AuthenticationCredential(cred); IAuthenticator auth = AuthenticatorFactory.Create(device, auhcred, AuthenticationProvider.Auto); contactsApp.Launch(auth, AuthenticationMode.Lazy); int speedDialNumber; speedDialNumber = contactsApp.CreateSpeedDial(DisplayName.Key, SpeedDialNumber.Key, FaxNumbers.Key); } } catch (Exception ex) { _failedSettings.AppendLine($"Failed to set field speed Dial: {ex.Message}"); throw new DeviceWorkflowException("Speed dial cannot be created.", ex); } return(true); }
private void AuthenticateWindjammer(string deviceIP, string userName) { IDevice device = DeviceFactory.Create(deviceIP, "!QAZ2wsx"); AuthenticationCredential credential = new AuthenticationCredential(userName, "1qaz2wsx", "etl.boi.rd.hpicorp.net"); JediWindjammerPreparationManager prepMgr = new JediWindjammerPreparationManager(((JediWindjammerDevice)device)); JediWindjammerControlPanel controlPanel = ((JediWindjammerDevice)device).ControlPanel; // Set up the device for Authentication //prepMgr.Reset(); controlPanel.PressWait(JediWindjammerLaunchHelper.SIGNIN_BUTTON, JediWindjammerLaunchHelper.SIGNIN_FORM); //IEnumerable<string> controls = controlPanel.GetControls(); //foreach (string s in controls) //{ // System.Diagnostics.Debug.WriteLine(s); //} IAuthenticator authenticator = AuthenticatorFactory.Create(device, credential, AuthenticationProvider.Auto); authenticator.Authenticate(); }
public async Task <ActionResult> Put([FromBody] AuthenticationCredential authenticationCredential) { LoginAuthenticationRequest request = new LoginAuthenticationRequest { AuthenticationCredential = authenticationCredential }; request.Validate(); LoginAuthentication loginAuthentication = new LoginAuthentication(new Repository(), authenticationCredential); JwtToken token = loginAuthentication.Handle(); if (token == null) { return(Unauthorized()); } AuthenticationViewModel viewModel = new AuthenticationViewModel() { Value = token.ToString() }; return(Json(viewModel)); }
/// <summary> /// Initializes a new instance of the <see cref="JediOmniCeliveoAuthenticator" /> class. /// </summary> /// <param name="controlPanel">The <see cref="JediOmniControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public JediOmniCeliveoAuthenticator(JediOmniControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) : base(controlPanel, credential, pacekeeper) { }
/// <summary> /// Initializes a new instance of the <see cref="SiriusUIv2WindowsAuthenticator"/> class. /// </summary> /// <param name="controlPanel">The <see cref="SiriusUIv2ControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public SiriusUIv2WindowsAuthenticator(SiriusUIv2ControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) { ControlPanel = controlPanel; Credential = credential; Pacekeeper = pacekeeper; }
/// <summary> /// Initializes a new instance of the <see cref="SiriusUIv3SafeComAuthenticator" /> class. /// </summary> /// <param name="controlPanel">The <see cref="SiriusUIv3ControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public SiriusUIv3SafeComAuthenticator(SiriusUIv3ControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) : base(controlPanel, credential, pacekeeper) { }
/// <summary> /// Initializes a new instance of the <see cref="JediWindjammerHpacAgentlessAuthenticator" /> class. /// </summary> /// <param name="controlPanel">The <see cref="JediWindjammerControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public JediWindjammerHpacAgentlessAuthenticator(JediWindjammerControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) : base(controlPanel, credential, pacekeeper) { _engine = new OxpdBrowserEngine(ControlPanel); CreateExistElementFunction(); _hpacVersion16_6 = IsVersion16_6(); }
/// <summary> /// Initializes a new instance of the <see cref="JediWindjammerAutoStoreAuthenticator"/> class. /// </summary> /// <param name="controlPanel">The <see cref="JediWindjammerControlPanel" /> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential" /> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper" /> object.</param> public JediWindjammerAutoStoreAuthenticator(JediWindjammerControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) : base(controlPanel, credential, pacekeeper) { }
/// <summary> /// Initializes a new instance of the <see cref="SiriusUIv2Authenticator"/> class. /// </summary> /// <param name="device">The device.</param> /// <param name="credential">The credential.</param> /// <param name="provider">The provider.</param> public SiriusUIv2Authenticator(SiriusUIv2Device device, AuthenticationCredential credential, AuthenticationProvider provider) : base(credential, provider) { ControlPanel = device.ControlPanel; }
/// <summary> /// Initializes a new instance of the <see cref="OzWindjammerWindowsAuthenticator" /> class. /// </summary> /// <param name="controlPanel">The <see cref="OzWindjammerControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public OzWindjammerWindowsAuthenticator(OzWindjammerControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) { ControlPanel = controlPanel; Credential = credential; Pacekeeper = pacekeeper; }
/// <summary> /// Initializes a new instance of the <see cref="PhoenixNovaWindowsAuthenticator"/> class. /// </summary> /// <param name="controlPanel">The <see cref="PhoenixNovaControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public PhoenixNovaWindowsAuthenticator(PhoenixNovaControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) { ControlPanel = controlPanel; Credential = credential; Pacekeeper = pacekeeper; }
/// <summary> /// Creates an <see cref="IAppAuthenticator" /> for the specified <see cref="AuthenticationProvider"/> value. /// </summary> /// <param name="provider">The <see cref="AuthenticationProvider"/> value.</param> /// <param name="controlPanel">The <see cref="JediWindjammerControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> /// <returns></returns> public static IAppAuthenticator Create(AuthenticationProvider provider, JediWindjammerControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) { object[] constructorParameters = new object[] { controlPanel, credential, pacekeeper }; return(_instance.FactoryCreate(provider, constructorParameters)); }
/// <summary> /// Initializes a new instance of the <see cref="JediWindjammerAppAuthenticatorBase" /> class. /// </summary> /// <param name="controlPanel">The <see cref="JediWindjammerControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> protected JediWindjammerAppAuthenticatorBase(JediWindjammerControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) { ControlPanel = controlPanel; Credential = credential; Pacekeeper = pacekeeper; }
public JediOmniHpacWindowsAuthenticator(JediOmniControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) : base(controlPanel, credential, pacekeeper) { _controlPanel = controlPanel; }