Tenantry CoreAPI reference
TenantRejectionReason enum
Namespace: Tenantry.AspNetCore · Package: Tenantry.AspNetCore · API reference
Why app.UseTenantry() rejects a request to an endpoint that needs a tenant.
public enum TenantRejectionReasonValues
| Value | Description |
|---|---|
Missing = 0 | No resolver found an identifier in the request. |
NotFound = 1 | The identifier names no tenant. |
AccessDenied = 2 | An access validator refused the tenant. |
TenantRejectedContext<TKey> class
A request that app.UseTenantry rejects, passed to TenantResolutionOptions<TKey>.OnRejectedtenantry-aspnetcore-tenantresolutionoptions.md.
TenantResolutionOptions<TKey> class
How app.UseTenantry treats requests: whether they need a tenant, the status code of each rejection, and the events it raises.