Table of Contents

TTenantMiddleware.BaseDomain Property

The base domain used for subdomain-based tenant extraction.

Remarks

When set, the middleware extracts the tenant ID from the subdomain. For example, with BaseDomain set to "example.com", a request to "tenant1.example.com" will extract "tenant1" as the tenant ID.

Syntax

Unit: Sparkle.Middleware.Tenant

property TTenantMiddleware.BaseDomain: string

See also