Skip to content

Interface ITenantResolver

Namespace: Cephalon.Abstractions.Tenancy
Assembly: Cephalon.Abstractions.dll

Resolves the tenant context for the current operation from host-neutral hints.

public interface ITenantResolver

ResolveAsync(TenantResolutionRequest, CancellationToken)

Section titled “ ResolveAsync(TenantResolutionRequest, CancellationToken)”

Resolves the tenant context for the supplied request.

ValueTask<TenantResolutionResult> ResolveAsync(TenantResolutionRequest request, CancellationToken cancellationToken = default)

request TenantResolutionRequest

The host-neutral resolution request.

cancellationToken CancellationToken

The token that cancels the operation.

ValueTask<TenantResolutionResult>

A task that completes with the resulting tenant-resolution outcome.