Class HashingObfuscationConfiguration
The hashing obfuscation configuration. This configurations is preconfigured to use the HashingObfuscationEngine and provides logic to automatically generate a salt which resets daily.
Inherited Members
Namespace: Microsoft.Graph.Communications.Common.Telemetry.Obfuscation
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public class HashingObfuscationConfiguration : ObfuscationConfiguration
Constructors
HashingObfuscationConfiguration(IEnumerable<BaseFilter>, Boolean, ObfuscationMember[])
Initializes a new instance of the HashingObfuscationConfiguration class.
Declaration
public HashingObfuscationConfiguration(IEnumerable<BaseFilter> filters = null, bool addOdataType = true, ObfuscationMember[] members = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<BaseFilter> | filters | The filters. |
Boolean | addOdataType | If true, attach the @odata.type property, otherwise only attach this property if it's already present as a first class property. |
ObfuscationMember[] | members | The predefined set of obfuscation members. When specified the obfuscation serializer will cache the members and check the cache for the ObfuscationTag. |
HashingObfuscationConfiguration(IEnumerable<HeaderFilter>, IEnumerable<ContentDispositionFilter>, IEnumerable<ContentTypeFilter>, Boolean, ObfuscationMember[])
Initializes a new instance of the HashingObfuscationConfiguration class.
Declaration
public HashingObfuscationConfiguration(IEnumerable<HeaderFilter> headerFilters, IEnumerable<ContentDispositionFilter> contentDispositionFilters, IEnumerable<ContentTypeFilter> contentTypeFilters, bool addOdataType = true, ObfuscationMember[] members = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<HeaderFilter> | headerFilters | The header filters. |
IEnumerable<ContentDispositionFilter> | contentDispositionFilters | The content disposition filters. |
IEnumerable<ContentTypeFilter> | contentTypeFilters | The content type filters. |
Boolean | addOdataType | If true, attach the @odata.type property, otherwise only attach this property if it's already present as a first class property. |
ObfuscationMember[] | members | The predefined set of obfuscation members. When specified the obfuscation serializer will cache the members and check the cache for the ObfuscationTag. |