Skip to main content

AuthorityDecision

@totemsdk/authority


@totemsdk/authority / AuthorityDecision

Interface: AuthorityDecision

Properties

allowed

allowed: boolean


decisionId

decisionId: string


evaluatedAt

evaluatedAt: number


evidenceIds

evidenceIds: readonly string[]


failedRules

failedRules: string[]


intentId

intentId: string


mandateId

mandateId: string


mandateVerification

mandateVerification: MandateVerificationResult


matchedRules

matchedRules: string[]


policyVersion

policyVersion: string


reason?

optional reason?: string


usageDelta?

optional usageDelta?: object

amount?

optional amount?: string

count

count: number


usageSnapshot

usageSnapshot: AuthorityUsageSnapshot


usageSnapshotHash

usageSnapshotHash: string