OptionalrequiredRequire the scoped identity fields to exist.
Defaults to true. Set to false when identity should only refine the
key when available.
Tenant partitioning is always explicit when identity scoping is enabled.
OptionaluserAppend userId after tenantId when it exists.
When required is not set to false, userId becomes mandatory.
Controls whether identity-aware middleware partitions its internal state by the active identity payload.
Omit the option to keep the shared cross-identity keyspace. Provide
{ tenant: true }to require tenant partitioning. Adduser: truefor<tenantId>:<userId>:...partitioning. Setrequired: falsewhen identity should refine the key only when present.