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