2 writes to ShouldRedactHeaderValue
Microsoft.Extensions.Http (2)
DependencyInjection\HttpClientBuilderExtensions.cs (2)
565options.ShouldRedactHeaderValue = shouldRedactHeaderValue; 586options.ShouldRedactHeaderValue = (header) => sensitiveHeaders.Contains(header);
2 references to ShouldRedactHeaderValue
Microsoft.Extensions.Http (2)
Logging\LoggingHttpMessageHandler.cs (1)
56Func<string, bool> shouldRedactHeaderValue = _options?.ShouldRedactHeaderValue ?? LogHelper.ShouldRedactHeaderValue;
Logging\LoggingScopeHttpMessageHandler.cs (1)
57Func<string, bool> shouldRedactHeaderValue = _options?.ShouldRedactHeaderValue ?? LogHelper.ShouldRedactHeaderValue;