public SecureHttpClient(ITokenServiceApiClientConfiguration configuration)
 {
     _configuration = configuration;
 }
Example #2
0
 internal TokenServiceApiClient(ITokenServiceApiClientConfiguration configuration, ISecureHttpClient httpClient)
 {
     _configuration = configuration;
     _httpClient    = httpClient;
 }
 public LevyTokenHttpClientMaker(ITokenServiceApiClientConfiguration levySubmissionsApiConfiguration, IHmrcApiBaseUrlConfig hmrcApiBaseUrlConfig)
 {
     _hmrcApiBaseUrlConfig            = hmrcApiBaseUrlConfig;
     _levySubmissionsApiConfiguration = levySubmissionsApiConfiguration;
 }
Example #4
0
 public TokenServiceApiClient(ITokenServiceApiClientConfiguration configuration)
     : this(configuration, new SecureHttpClient(configuration))
 {
 }