Beispiel #1
0
 public ClientService(HttpClient httpClient, ILogger <ClientService> logger, IOptions <UrlHosts> config, ServerToken serverToken,
                      IAuthServicesService authServicesService)
 {
     _httpClient          = httpClient;
     _logger              = logger;
     _serverToken         = serverToken;
     _authServicesService = authServicesService;
     _urls = config.Value;
 }
Beispiel #2
0
 public FlightService(HttpClient httpClient, ILogger <FlightService> logger, IOptions <UrlHosts> config)
 {
     _httpClient = httpClient;
     _logger     = logger;
     _urls       = config.Value;
 }
Beispiel #3
0
 public AuthServicesService(HttpClient httpClient, ServerToken serverToken, IOptions <UrlHosts> config)
 {
     _httpClient  = httpClient;
     _serverToken = serverToken;
     _urls        = config.Value;
 }