remote service support via Jwt
This commit is contained in:
@ -194,7 +194,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||
return services;
|
||||
}
|
||||
|
||||
internal static IServiceCollection TryAddHttpClientWithAuthenticationCookie(this IServiceCollection services)
|
||||
internal static IServiceCollection AddHttpClients(this IServiceCollection services)
|
||||
{
|
||||
if (!services.Any(x => x.ServiceType == typeof(HttpClient)))
|
||||
{
|
||||
@ -216,6 +216,8 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||
});
|
||||
}
|
||||
|
||||
services.AddHttpClient("External");
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user