Tenantry CoreAPI reference
RequireTenantAttribute class
Namespace: Tenantry.AspNetCore.Attributes · Package: Tenantry.AspNetCore · API reference
Requires Tenantry to resolve a tenant before the endpoint or controller action executes.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
public sealed class RequireTenantAttribute : AttributeInherits Attribute.