@bluelibs/runner - v6.3.1
    Preparing search index...

    Interface IdentityScopeConfig

    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. Add user: true for <tenantId>:<userId>:... partitioning. Set required: false when identity should refine the key only when present.

    interface IdentityScopeConfig {
        required?: boolean;
        tenant: true;
        user?: boolean;
    }
    Index

    Properties

    required?: boolean

    Require the scoped identity fields to exist.

    Defaults to true. Set to false when identity should only refine the key when available.

    tenant: true

    Tenant partitioning is always explicit when identity scoping is enabled.

    user?: boolean

    Append userId after tenantId when it exists.

    When required is not set to false, userId becomes mandatory.