Interface ITenantResolver
Namespace: Cephalon.Abstractions.Tenancy
Assembly: Cephalon.Abstractions.dll
Resolves the tenant context for the current operation from host-neutral hints.
public interface ITenantResolverMethods
Section titled “Methods”ResolveAsync(TenantResolutionRequest, CancellationToken)
Section titled “ ResolveAsync(TenantResolutionRequest, CancellationToken)”Resolves the tenant context for the supplied request.
ValueTask<TenantResolutionResult> ResolveAsync(TenantResolutionRequest request, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”request TenantResolutionRequest
The host-neutral resolution request.
cancellationToken CancellationToken
The token that cancels the operation.
Returns
Section titled “Returns”ValueTask<TenantResolutionResult>
A task that completes with the resulting tenant-resolution outcome.