Table of Contents

Interface ITenantIdProvider

Namespace
BytLabs.Multitenancy
Assembly
BytLabs.Multitenancy.dll

Defines a contract for retrieving the current tenant identifier.

public interface ITenantIdProvider

Methods

GetTenantId()

Gets the current tenant identifier.

TenantId GetTenantId()

Returns

TenantId

The current tenant identifier.

Exceptions

FailedToResolveTenantIdException

Thrown when tenant ID cannot be resolved.