Esempio n. 1
0
 public BodyGuardConfigurationApiService(IBodyGuardClientSettings settings,
                                         IHttpClientFactory httpClientFactory,
                                         IHttpContextAccessor httpContextAccessor,
                                         IOptions <CommonSettings> commonSettings) :
     base(settings, httpClientFactory, httpContextAccessor)
 {
     _commonSettings = commonSettings.Value;
 }
Esempio n. 2
0
 protected BodyGuardBaseApiService(IBodyGuardClientSettings settings,
                                   IHttpClientFactory httpClientFactory,
                                   IHttpContextAccessor httpContextAccessor)
 {
     _httpContextAccessor = httpContextAccessor;
     _httpClientFactory   = httpClientFactory;
     _serverBasePath      = $"{settings.ServerBasePath}/";
     ApplicationBasePath  = $"{settings.ApplicationBasePath}";
 }
Esempio n. 3
0
 public BodyGuardAuthorizationApiService(IBodyGuardClientSettings settings,
                                         IHttpClientFactory httpClientFactory,
                                         IHttpContextAccessor httpContextAccessor) :
     base(settings, httpClientFactory, httpContextAccessor)
 {
 }