Resolves the tenant for an incoming request (by subdomain, header, path, or JWT claim, depending on the implementation).
resolve(request: IRequest): Promise<Option<ITenant>>
Resolves the request's tenant.
Resolves the tenant for an incoming request (by subdomain, header, path, or JWT claim, depending on the implementation).
resolve(request: IRequest): Promise<Option<ITenant>>
Resolves the request's tenant.
import { type ITenantResolver } from "multi-tenancy-plugin/src/index.ts";