public DynamicHttpProxyInterceptor(
     IDynamicProxyHttpClientFactory httpClientFactory,
     IOptions <AbpHttpClientOptions> clientOptions,
     IOptionsSnapshot <RemoteServiceOptions> remoteServiceOptions,
     IApiDescriptionFinder apiDescriptionFinder,
     IJsonSerializer jsonSerializer)
 {
     _httpClientFactory    = httpClientFactory;
     _apiDescriptionFinder = apiDescriptionFinder;
     _jsonSerializer       = jsonSerializer;
     _clientOptions        = clientOptions.Value;
     _remoteServiceOptions = remoteServiceOptions.Value;
 }
        public DynamicHttpProxyInterceptor(
            IDynamicProxyHttpClientFactory httpClientFactory,
            IOptions <AbpHttpClientOptions> clientOptions,
            IOptionsSnapshot <RemoteServiceOptions> remoteServiceOptions,
            IApiDescriptionFinder apiDescriptionFinder,
            IJsonSerializer jsonSerializer,
            IRemoteServiceHttpClientAuthenticator clientAuthenticator)
        {
            _httpClientFactory    = httpClientFactory;
            _apiDescriptionFinder = apiDescriptionFinder;
            _jsonSerializer       = jsonSerializer;
            _clientAuthenticator  = clientAuthenticator;
            _clientOptions        = clientOptions.Value;
            _remoteServiceOptions = remoteServiceOptions.Value;

            Logger = NullLogger <DynamicHttpProxyInterceptor <TService> > .Instance;
        }