Skip to content

Interface: SourceAuthorization

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SourceAuthorization

Defined in: src/types/connectors.ts:266

Whether the caller may read a document, as its source says now.

allowed: boolean

Defined in: src/types/connectors.ts:267


documentId: string

Defined in: src/types/connectors.ts:268


fromSource: boolean

Defined in: src/types/connectors.ts:270

Whether the document came from a connected source.


optional reason?: string | null

Defined in: src/types/connectors.ts:273

Why not: source_not_connected, source_grant_refused, source_refuses or source_authorization_unavailable.