25 references to Redacted
Microsoft.Extensions.Http.Diagnostics.Tests (25)
Logging\HttpRequestReaderTest.cs (25)
53RequestHeaders = [new("Header1", Redacted), new("Header3", Redacted)],
54ResponseHeaders = [new("Header2", Redacted), new("Header3", Redacted)],
71.Returns(Redacted);
135.Returns(Redacted);
179RequestHeaders = [new("Header1", Redacted)],
180ResponseHeaders = [new("Header2", Redacted)],
198.Returns(Redacted);
250RequestHeaders = [new("Header1", Redacted)],
251ResponseHeaders = [new("Header2", Redacted)],
273.Returns(Redacted);
276using var serviceProvider = GetServiceProvider(headersReader, configureRedaction: x => x.RedactionFormat = Redacted);
310HttpRouteParameter[] expectedParameters = [new("userId", Redacted, true)];
326RequestHeaders = [new("Header1", Redacted)],
345.Returns(Redacted);
384RequestHeaders = [new("Header1", Redacted)],
385ResponseHeaders = [new("Header2", Redacted)],
403.Returns(Redacted);
455RequestHeaders = [new("Header1", Redacted)],
456ResponseHeaders = [new("Header2", Redacted)],
474.Returns(Redacted);
522RequestHeaders = [new("Header1", Redacted)],
523ResponseHeaders = [new("Header2", Redacted)],
541.Returns(Redacted);