Table of Contents

Interface ITenantConsistencyValidator

Namespace
Compendium.Multitenancy
Assembly
Compendium.Multitenancy.dll

Validates that tenant identifiers from multiple sources are consistent. Ensures header, subdomain, and JWT claim all reference the same tenant.

public interface ITenantConsistencyValidator

Methods

Validate(TenantSourceIdentifiers)

Validates that all provided tenant identifiers are consistent (match).

Result<string> Validate(TenantSourceIdentifiers sources)

Parameters

sources TenantSourceIdentifiers

The tenant identifiers from different sources.

Returns

Result<string>

A result indicating success or validation failure with details.