Table of Contents

Class HouseholdAnalyticsIdentifiers

Namespace
SEBT.Portal.Api.Models.Household
Assembly
SEBT.Portal.Api.dll

Keyed digests of a household's state identifiers, which analytics uses to join vendor exports back to state program data without exposing the raw identifiers.

public sealed record HouseholdAnalyticsIdentifiers
Inheritance
object
HouseholdAnalyticsIdentifiers

Constructors

HouseholdAnalyticsIdentifiers(string?, string?, string?)

Keyed digests of a household's state identifiers, which analytics uses to join vendor exports back to state program data without exposing the raw identifiers.

public HouseholdAnalyticsIdentifiers(string? HashedAppId, string? HashedAppIds, string? HashedCaseIds)

Parameters

HashedAppId string

The full digest of one application id, chosen the same way on every load.

HashedAppIds string

Sorted, comma-joined digest prefixes of every application id in the household.

HashedCaseIds string

Sorted, comma-joined digest prefixes of every child's case id in the household.

Properties

HashedAppId

The full digest of one application id, chosen the same way on every load.

public string? HashedAppId { get; init; }

Property Value

string

HashedAppIds

Sorted, comma-joined digest prefixes of every application id in the household.

public string? HashedAppIds { get; init; }

Property Value

string

HashedCaseIds

Sorted, comma-joined digest prefixes of every child's case id in the household.

public string? HashedCaseIds { get; init; }

Property Value

string

Methods

Resolve(HouseholdData, IIdentifierHasher)

Hashes the household's application and case ids. Each field is null when the household has none.

public static HouseholdAnalyticsIdentifiers Resolve(HouseholdData household, IIdentifierHasher hasher)

Parameters

household HouseholdData
hasher IIdentifierHasher

Returns

HouseholdAnalyticsIdentifiers