/// <summary> /// Initializes a new instance of the <see cref="AuthorizationAppSI"/> class /// </summary> /// <param name="httpContextAccessor">the http context accessor</param> /// <param name="httpClientAccessor">The Http client accessor</param> /// <param name="cookieOptions">the default cookie options</param> /// <param name="logger">the handler for logger service</param> public AuthorizationAppSI( IHttpContextAccessor httpContextAccessor, IHttpClientAccessor httpClientAccessor, IOptions <JwtCookieOptions> cookieOptions, ILogger <AuthorizationAppSI> logger) { _httpContextAccessor = httpContextAccessor; _authClient = httpClientAccessor.AuthorizationClient; _cookieOptions = cookieOptions.Value; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="InstanceAppSI"/> class. /// </summary> /// <param name="platformSettings">the platform settings</param> /// <param name="logger">the logger</param> /// <param name="httpContextAccessor">The http context accessor </param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The Http client accessor </param> public InstanceAppSI( ILogger <InstanceAppSI> logger, IHttpContextAccessor httpContextAccessor, IOptions <JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _logger = logger; _httpContextAccessor = httpContextAccessor; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.StorageClient; }
/// <summary> /// Initializes a new instance of the <see cref="RegisterDSFAppSI"/> class /// </summary> /// <param name="logger">the logger</param> /// <param name="httpContextAccessor">The http context accessor </param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The http client accessor </param> public RegisterDSFAppSI( ILogger <RegisterDSFAppSI> logger, IHttpContextAccessor httpContextAccessor, IOptions <JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _logger = logger; _httpContextAccessor = httpContextAccessor; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.RegisterClient; }
/// <summary> /// Initializes a new instance of the <see cref="ProfileAppSI"/> class /// </summary> /// <param name="logger">the logger</param> /// <param name="platformSettings">the platform settings</param> /// <param name="httpContextAccessor">The http context accessor </param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The http client accessor </param> public ProfileAppSI( ILogger <ProfileAppSI> logger, IHttpContextAccessor httpContextAccessor, IOptions <JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _logger = logger; _httpContextAccessor = httpContextAccessor; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.ProfileClient; }
/// <summary> /// Initializes a new data of the <see cref="DataAppSI"/> class. /// </summary> /// <param name="platformSettings">the platform settings</param> /// <param name="logger">the logger</param> /// <param name="httpContextAccessor">The http context accessor </param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The http client accessor </param> public DataAppSI( IOptions <PlatformSettings> platformSettings, ILogger <DataAppSI> logger, IHttpContextAccessor httpContextAccessor, IOptions <JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _platformSettings = platformSettings.Value; _logger = logger; _httpContextAccessor = httpContextAccessor; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.StorageClient; }
/// <summary> /// Initializes a new instance of the <see cref="RegisterERAppSI"/> class /// </summary> /// <param name="logger">the logger</param> /// <param name="platformSettings">the platform settings</param> /// <param name="httpContextAccessor">The http context accessor </param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The http client accessor </param> public RegisterERAppSI( ILogger <RegisterERAppSI> logger, IOptions <PlatformSettings> platformSettings, IHttpContextAccessor httpContextAccessor, IOptions <JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _logger = logger; _platformSettings = platformSettings.Value; _httpContextAccessor = httpContextAccessor; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.RegisterClient; }
/// <summary> /// Initializes a new instance of the <see cref="AuthenticationAppSI"/> class /// </summary> /// <param name="logger">the logger</param> /// <param name="generalSettings">The current general settings</param> /// <param name="platformSettings">the platform settings</param> /// <param name="httpContextAccessor">The http context accessor </param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The http client accessor </param> public AuthenticationAppSI( ILogger <AuthenticationAppSI> logger, IOptions <GeneralSettings> generalSettings, IOptions <PlatformSettings> platformSettings, IHttpContextAccessor httpContextAccessor, IOptions <JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _logger = logger; _generalSettings = generalSettings.Value; _platformSettings = platformSettings.Value; _httpContextAccessor = httpContextAccessor; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.AuthenticationClient; }
/// <summary> /// Initializes a new instance of the <see cref="RegisterAppSI"/> class /// </summary> /// <param name="dsf">The dsf</param> /// <param name="er">The er</param> /// <param name="logger">The logger</param> /// <param name="httpContextAccessor">The http context accessor </param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The http client accessor </param> public RegisterAppSI( IDSF dsf, IER er, ILogger <RegisterAppSI> logger, IHttpContextAccessor httpContextAccessor, IOptions <JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _dsf = dsf; _er = er; _logger = logger; _httpContextAccessor = httpContextAccessor; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.RegisterClient; }
/// <summary> /// Initializes a new instance of the <see cref="InstanceAppSI"/> class. /// </summary> /// <param name="data">form service</param> /// <param name="platformSettings">the platform settings</param> /// <param name="workflowSI">the workflow service</param> /// <param name="logger">the logger</param> /// <param name="httpContextAccessor">The http context accessor </param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The Http client accessor </param> public InstanceAppSI( IData data, IOptions <PlatformSettings> platformSettings, IWorkflow workflowSI, ILogger <InstanceAppSI> logger, IHttpContextAccessor httpContextAccessor, IOptions <JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _data = data; _platformSettings = platformSettings.Value; _workflow = workflowSI; _logger = logger; _httpContextAccessor = httpContextAccessor; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.StorageClient; }
/// <summary> /// Initializes a new instance of the <see cref="WorkflowAppSI"/> class. /// </summary> /// <param name="httpContextAccessor">The http context accessor</param> /// <param name="repositorySettings">The service repository settings</param> /// <param name="testdataRepositorySettings">The test data repository settings</param> /// <param name="platformSettings">the platform settings</param> /// <param name="generalSettings">the general settings</param> /// <param name="cookieOptions">The cookie options </param> /// <param name="httpClientAccessor">The Http client accessor </param> public WorkflowAppSI( IOptions<ServiceRepositorySettings> repositorySettings, IOptions<TestdataRepositorySettings> testdataRepositorySettings, IHttpContextAccessor httpContextAccessor, IOptions<PlatformSettings> platformSettings, IOptions<GeneralSettings> generalSettings, IOptions<JwtCookieOptions> cookieOptions, IHttpClientAccessor httpClientAccessor) { _settings = repositorySettings.Value; _testdataRepositorySettings = testdataRepositorySettings.Value; _httpContextAccessor = httpContextAccessor; _platformSettings = platformSettings.Value; _generalSettings = generalSettings.Value; _cookieOptions = cookieOptions.Value; _client = httpClientAccessor.StorageClient; }