Class ProtoRedactionExtensions
Registers a suite's additional sensitive names for the run.
public static class ProtoRedactionExtensions
- Inheritance
-
ProtoRedactionExtensions
- Inherited Members
Methods
ConfigureRedaction(IProtoHostBuilder, Action<ProtoRedactionOptions>)
Names property values the run redacts on top of the defaults, such as a domain token the
shared list does not know. A name added here reaches state values and finding metadata,
while attachment and diagnostic JSON keeps each protocol's SensitiveJsonProperties
list. The names travel with the host, so a second host in the same
process keeps the defaults only. The section ProtoTest:Redaction binds over the code
values when the host is built.
public static IProtoHostBuilder ConfigureRedaction(this IProtoHostBuilder builder, Action<ProtoRedactionOptions> configure)
Parameters
builderIProtoHostBuilderconfigureAction<ProtoRedactionOptions>