diff --git a/src/libraries/Microsoft.Extensions.Http/ref/Microsoft.Extensions.Http.netcoreapp.cs b/src/libraries/Microsoft.Extensions.Http/ref/Microsoft.Extensions.Http.netcoreapp.cs index 4d78e46fc08..e6359a3bd2d 100644 --- a/src/libraries/Microsoft.Extensions.Http/ref/Microsoft.Extensions.Http.netcoreapp.cs +++ b/src/libraries/Microsoft.Extensions.Http/ref/Microsoft.Extensions.Http.netcoreapp.cs @@ -19,6 +19,7 @@ namespace Microsoft.Extensions.DependencyInjection public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder ConfigurePrimaryHttpMessageHandler(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.Func configureHandler) { throw null; } public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder ConfigurePrimaryHttpMessageHandler(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder) where THandler : System.Net.Http.HttpMessageHandler { throw null; } public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder SetHandlerLifetime(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.TimeSpan handlerLifetime) { throw null; } + public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder SetLogSensitiveHeaders(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.Collections.Generic.ICollection logSensitiveHeaders) { throw null; } } public static partial class HttpClientFactoryServiceCollectionExtensions { @@ -53,6 +54,7 @@ namespace Microsoft.Extensions.Http public System.TimeSpan HandlerLifetime { get { throw null; } set { } } public System.Collections.Generic.IList> HttpClientActions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } public System.Collections.Generic.IList> HttpMessageHandlerBuilderActions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + public System.Collections.Generic.IList LogSensitiveHeaders { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } public bool SuppressHandlerScope { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } } public abstract partial class HttpMessageHandlerBuilder @@ -78,13 +80,13 @@ namespace Microsoft.Extensions.Http.Logging { public partial class LoggingHttpMessageHandler : System.Net.Http.DelegatingHandler { - public LoggingHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger) { } + public LoggingHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger, System.Collections.Generic.IReadOnlyList logSensitiveHeaders) { } [System.Diagnostics.DebuggerStepThroughAttribute] protected override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; } } public partial class LoggingScopeHttpMessageHandler : System.Net.Http.DelegatingHandler { - public LoggingScopeHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger) { } + public LoggingScopeHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger, System.Collections.Generic.IReadOnlyList logSensitiveHeaders) { } [System.Diagnostics.DebuggerStepThroughAttribute] protected override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; } } diff --git a/src/libraries/Microsoft.Extensions.Http/ref/Microsoft.Extensions.Http.netstandard2.0.cs b/src/libraries/Microsoft.Extensions.Http/ref/Microsoft.Extensions.Http.netstandard2.0.cs index 4d78e46fc08..e6359a3bd2d 100644 --- a/src/libraries/Microsoft.Extensions.Http/ref/Microsoft.Extensions.Http.netstandard2.0.cs +++ b/src/libraries/Microsoft.Extensions.Http/ref/Microsoft.Extensions.Http.netstandard2.0.cs @@ -19,6 +19,7 @@ namespace Microsoft.Extensions.DependencyInjection public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder ConfigurePrimaryHttpMessageHandler(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.Func configureHandler) { throw null; } public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder ConfigurePrimaryHttpMessageHandler(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder) where THandler : System.Net.Http.HttpMessageHandler { throw null; } public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder SetHandlerLifetime(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.TimeSpan handlerLifetime) { throw null; } + public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder SetLogSensitiveHeaders(this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, System.Collections.Generic.ICollection logSensitiveHeaders) { throw null; } } public static partial class HttpClientFactoryServiceCollectionExtensions { @@ -53,6 +54,7 @@ namespace Microsoft.Extensions.Http public System.TimeSpan HandlerLifetime { get { throw null; } set { } } public System.Collections.Generic.IList> HttpClientActions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } public System.Collections.Generic.IList> HttpMessageHandlerBuilderActions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + public System.Collections.Generic.IList LogSensitiveHeaders { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } public bool SuppressHandlerScope { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } } public abstract partial class HttpMessageHandlerBuilder @@ -78,13 +80,13 @@ namespace Microsoft.Extensions.Http.Logging { public partial class LoggingHttpMessageHandler : System.Net.Http.DelegatingHandler { - public LoggingHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger) { } + public LoggingHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger, System.Collections.Generic.IReadOnlyList logSensitiveHeaders) { } [System.Diagnostics.DebuggerStepThroughAttribute] protected override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; } } public partial class LoggingScopeHttpMessageHandler : System.Net.Http.DelegatingHandler { - public LoggingScopeHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger) { } + public LoggingScopeHttpMessageHandler(Microsoft.Extensions.Logging.ILogger logger, System.Collections.Generic.IReadOnlyList logSensitiveHeaders) { } [System.Diagnostics.DebuggerStepThroughAttribute] protected override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; } }