/
rezvich
/
SoapBatchProcessor
Обзор
Документация
Войти
/
rezvich
/
SoapBatchProcessor
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Infrastructure/AppSettings.cs
33 строки
1 KB
rezvich
Подправил токен
04 авг 2026, 12:20
04 авг 2026, 12:20
632636d
Код
Авторство
О чём код?
namespace SoapBatchProcessor.Infrastructure { public class AppSettings { public required string SoapServiceUrl { get; set; } public required string SoapActionHistory { get; set; } public int MaxDegreeOfParallelism { get; set; } public int MaxRetryCount { get; set; } public int BatchSize { get; set; } public int BulkCopyBatchSize { get; set; } public int BulkCopyTimeout { get; set; } public required string SqlConnectionString { get; set; } public required string InputCommand { get; set; } public int CommandTimeoutSeconds { get; set; } public string IamTokenEndpoint { get; set; } = ""; // https://auth.ffoms.gov.ru/auth/realms/FomsAuth/protocol/openid-connect/token public string IamClientId { get; set; } = ""; public string IamClientSecret { get; set; } = ""; public string IamLogin { get; set; } = ""; public string IamPassword { get; set; } = ""; public required string ApiVersion { get; set; } public string TokenServiceBaseUrl { get; set; } = ""; public string TokenServiceApiKey { get; set; } = ""; public int TokenServiceTimeoutSeconds { get; set; } = 15; } }