Show / Hide Table of Contents

    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.

    Inheritance
    Object
    ObfuscationConfiguration
    HashingObfuscationConfiguration
    Inherited Members
    ObfuscationConfiguration.DefaultUriFilters
    ObfuscationConfiguration.DefaultContentTypeFilters
    ObfuscationConfiguration.DefaultContentDispositionFilters
    ObfuscationConfiguration.DefaultHeaderFilters
    ObfuscationConfiguration.ObfuscationEngine
    ObfuscationConfiguration.ObfuscationMembers
    ObfuscationConfiguration.ObfuscationSerializerSettings
    ObfuscationConfiguration.ContentDispositionFilters
    ObfuscationConfiguration.ContentTypeFilters
    ObfuscationConfiguration.HeaderFilters
    ObfuscationConfiguration.UriFilters
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    Extension Methods

    AdditionalDataExtensions.SetInAdditionalData(Object, String, Object)
    Extensions.Pin(Object)
    Extensions.ChangeType(Object, Type)
    Extensions.ChangeType<T>(Object)
    Extensions.TryDispose(Object, IGraphLogger)
    ReflectionUtils.GetPropertyUsingReflection(Object, String)
    ReflectionUtils.SetPropertyUsingReflection(Object, String, Object)
    Validator.IsNull(Object, String, String)
    Validator.NotNull<T>(T, String, String)
    Validator.Equals<T>(T, T, String, String)
    Validator.Equals<T, TE>(T, T, String)
    Validator.NotEquals<T>(T, T, String, String)
    HttpObfuscationHelpers.LogHeaderText(ObfuscationConfiguration, IEnumerable<KeyValuePair<String, IEnumerable<String>>>)
    HttpObfuscationHelpers.LogHeaderText(ObfuscationConfiguration, String, IEnumerable<String>)

    See Also

    ObfuscationConfiguration
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.