prorm API Reference
    Preparing search index...

    Interface SecurityContext

    interface SecurityContext {
        tenantId?: string;
        userId?: string;
        role?: string | string[];
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Any additional context keys

    Index
    tenantId?: string

    The tenant or organization identifier

    userId?: string

    The user ID

    role?: string | string[]

    The user's role(s)