Interface: SourceAuthorization
@kortexya/reasoninglayer / SourceAuthorization
Interface: SourceAuthorization
Section titled “Interface: SourceAuthorization”Defined in: src/types/connectors.ts:266
Whether the caller may read a document, as its source says now.
Properties
Section titled “Properties”allowed
Section titled “allowed”allowed:
boolean
Defined in: src/types/connectors.ts:267
documentId
Section titled “documentId”documentId:
string
Defined in: src/types/connectors.ts:268
fromSource
Section titled “fromSource”fromSource:
boolean
Defined in: src/types/connectors.ts:270
Whether the document came from a connected source.
reason?
Section titled “reason?”
optionalreason?:string|null
Defined in: src/types/connectors.ts:273
Why not: source_not_connected, source_grant_refused,
source_refuses or source_authorization_unavailable.