Table of Contents

TTenantMiddleware.UserClaim Property

The name of the user claim to read the tenant ID from.

Remarks

When set, the middleware will look for the tenant ID in the authenticated user's claims. This requires an authentication middleware to run before the tenant middleware.

Syntax

Unit: Sparkle.Middleware.Tenant

property TTenantMiddleware.UserClaim: string

See also