Share via


RedactionExtensions.SetHmacRedactor Method

Definition

Overloads

SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Sets the HMAC redactor to use for a set of data classifications.

SetHmacRedactor(IRedactionBuilder, Action<HmacRedactorOptions>, DataClassificationSet[])

Sets the HMAC redactor to use for a set of data classifications.

SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Source:
RedactionExtensions.cs
Source:
RedactionExtensions.cs

Sets the HMAC redactor to use for a set of data classifications.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetHmacRedactor(Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section, ... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public static Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetHmacRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetHmacRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Microsoft.Extensions.Configuration.IConfigurationSection * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetHmacRedactor (builder As IRedactionBuilder, section As IConfigurationSection, ParamArray classifications As DataClassificationSet()) As IRedactionBuilder

Parameters

builder
IRedactionBuilder

The builder to attach the redactor to.

section
IConfigurationSection

The configuration section.

classifications
DataClassificationSet[]

The data classifications for which the redactor type should be used.

Returns

The value of builder.

Exceptions

builder, section, or classifications is null.

Applies to

SetHmacRedactor(IRedactionBuilder, Action<HmacRedactorOptions>, DataClassificationSet[])

Source:
RedactionExtensions.cs
Source:
RedactionExtensions.cs

Sets the HMAC redactor to use for a set of data classifications.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetHmacRedactor(Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ builder, Action<Microsoft::Extensions::Compliance::Redaction::HmacRedactorOptions ^> ^ configure, ... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public static Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetHmacRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, Action<Microsoft.Extensions.Compliance.Redaction.HmacRedactorOptions> configure, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetHmacRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Action<Microsoft.Extensions.Compliance.Redaction.HmacRedactorOptions> * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetHmacRedactor (builder As IRedactionBuilder, configure As Action(Of HmacRedactorOptions), ParamArray classifications As DataClassificationSet()) As IRedactionBuilder

Parameters

builder
IRedactionBuilder

The builder to attach the redactor to.

configure
Action<HmacRedactorOptions>

The configuration function.

classifications
DataClassificationSet[]

The data classifications for which the redactor type should be used.

Returns

The value of builder.

Exceptions

builder, configure, or classifications is null.

Applies to