Tenantry CoreAPI reference
TenantStoreCacheOptions class
Namespace: Tenantry · Package: Tenantry.Core · API reference
How Tenantry caches the tenants it reads from the tenant store. Set with tenant.CacheTenants(o => …).
public sealed class TenantStoreCacheOptionsProperties
Duration
How long a tenant read from the store is reused before the store is asked again. Defaults to 5 minutes. It must be positive.
public TimeSpan Duration { get; set; }Value: TimeSpan
TenantNotResolvedException class
Thrown when an operation needs a current tenant and none is current, or when the tenant it names does not exist TenantNotFoundExceptiontenantry-tenantnotfoundexception.md.
AllowMissingTenantAttribute class
Allows an endpoint or controller action to execute without a resolved tenant.