Setu-TS
    Preparing search index...

    Type Alias ScopeSource

    ScopeSource:
        | ScopeRef
        | null
        | (
            (
                ctx: IRequestContext,
            ) => ScopeRef | null | undefined | Promise<ScopeRef | null | undefined>
        )

    The scope of a scoped guard or decorator: a fixed ScopeRef, null for global grants only, or a function reading the request.

    A function answering undefined (no tenant resolved, a missing route parameter) leaves the scope UNRESOLVED, and the check denies.

    0.9.0