public DynamicHttpProxyInterceptor( IDynamicProxyHttpClientFactory httpClientFactory, IOptions <AbpHttpClientOptions> clientOptions, IOptionsSnapshot <AbpRemoteServiceOptions> remoteServiceOptions, IApiDescriptionFinder apiDescriptionFinder, IJsonSerializer jsonSerializer, IRemoteServiceHttpClientAuthenticator clientAuthenticator, ICancellationTokenProvider cancellationTokenProvider, ICorrelationIdProvider correlationIdProvider, IOptions <AbpCorrelationIdOptions> correlationIdOptions, ICurrentTenant currentTenant) { CancellationTokenProvider = cancellationTokenProvider; CorrelationIdProvider = correlationIdProvider; CurrentTenant = currentTenant; AbpCorrelationIdOptions = correlationIdOptions.Value; HttpClientFactory = httpClientFactory; ApiDescriptionFinder = apiDescriptionFinder; JsonSerializer = jsonSerializer; ClientAuthenticator = clientAuthenticator; ClientOptions = clientOptions.Value; AbpRemoteServiceOptions = remoteServiceOptions.Value; Logger = NullLogger <DynamicHttpProxyInterceptor <TService> > .Instance; }
public WebAssemblyLookupApiRequestService(IHttpClientFactory httpClientFactory, IRemoteServiceHttpClientAuthenticator httpClientAuthenticator, ICurrentTenant currentTenant, IOptions <AbpRemoteServiceOptions> remoteServiceOptions) { HttpClientFactory = httpClientFactory; HttpClientAuthenticator = httpClientAuthenticator; RemoteServiceOptions = remoteServiceOptions.Value; CurrentTenant = currentTenant; }
public WebAssemblyLookupApiRequestService(IHttpClientFactory httpClientFactory, IRemoteServiceHttpClientAuthenticator httpClientAuthenticator, ICurrentTenant currentTenant, IRemoteServiceConfigurationProvider remoteServiceConfigurationProvider) { HttpClientFactory = httpClientFactory; HttpClientAuthenticator = httpClientAuthenticator; CurrentTenant = currentTenant; RemoteServiceConfigurationProvider = remoteServiceConfigurationProvider; }
public ConsulDynamicHttpProxyInterceptor(IDynamicProxyHttpClientFactory httpClientFactory, IOptions <AbpHttpClientOptions> clientOptions, IOptionsSnapshot <AbpRemoteServiceOptions> remoteServiceOptions, IApiDescriptionFinder apiDescriptionFinder, IJsonSerializer jsonSerializer, IRemoteServiceHttpClientAuthenticator clientAuthenticator, ICancellationTokenProvider cancellationTokenProvider, ICorrelationIdProvider correlationIdProvider, IOptions <AbpCorrelationIdOptions> correlationIdOptions, ICurrentTenant currentTenant) : base( httpClientFactory, clientOptions, remoteServiceOptions, apiDescriptionFinder, jsonSerializer, clientAuthenticator, cancellationTokenProvider, correlationIdProvider, correlationIdOptions, currentTenant) { }
public BlazorServerLookupApiRequestService(IHttpClientFactory httpClientFactory, IRemoteServiceHttpClientAuthenticator httpClientAuthenticator, ICurrentTenant currentTenant, IHttpContextAccessor httpContextAccessor, NavigationManager navigationManager, IRemoteServiceConfigurationProvider remoteServiceConfigurationProvider) { HttpClientFactory = httpClientFactory; HttpClientAuthenticator = httpClientAuthenticator; CurrentTenant = currentTenant; HttpContextAccessor = httpContextAccessor; NavigationManager = navigationManager; RemoteServiceConfigurationProvider = remoteServiceConfigurationProvider; }
public BlazorServerLookupApiRequestService(IHttpClientFactory httpClientFactory, IRemoteServiceHttpClientAuthenticator httpClientAuthenticator, ICurrentTenant currentTenant, IOptions <AbpRemoteServiceOptions> remoteServiceOptions, IHttpContextAccessor httpContextAccessor, NavigationManager navigationManager) { HttpClientFactory = httpClientFactory; HttpClientAuthenticator = httpClientAuthenticator; RemoteServiceOptions = remoteServiceOptions.Value; CurrentTenant = currentTenant; HttpContextAccessor = httpContextAccessor; NavigationManager = navigationManager; }
public DynamicDaprActorProxyInterceptor( IOptions <AbpDaprActorProxyOptions> daprActorProxyOptions, IOptionsSnapshot <AbpDaprRemoteServiceOptions> daprActorOptions, IDynamicProxyHttpClientFactory httpClientFactory, IRemoteServiceHttpClientAuthenticator clientAuthenticator, ICurrentTenant currentTenant) { CurrentTenant = currentTenant; HttpClientFactory = httpClientFactory; ClientAuthenticator = clientAuthenticator; DaprActorProxyOptions = daprActorProxyOptions.Value; DaprServiceOptions = daprActorOptions.Value; Logger = NullLogger <DynamicDaprActorProxyInterceptor <TService> > .Instance; }
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; }
public HttpContextIdentityModelRemoteServiceHttpClientAuthenticator_Tests() { _remoteServiceHttpClientAuthenticator = GetRequiredService <IRemoteServiceHttpClientAuthenticator>(); }