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
sourcesTenantSourceIdentifiersThe tenant identifiers from different sources.