Interface CapabilityEvaluationContextSnapshotExperimental

Normalized caller-controlled context retained so transported decisions can be reverified. It is not a sanitizer; profiles remain potentially sensitive.

interface CapabilityEvaluationContextSnapshot {
    authorization: {
        deniedScopes: readonly string[];
        grantedScopes: readonly string[];
    };
    availablePeers: readonly string[];
    environment?: CapabilityRuntimeEnvironment;
    policy?: {
        allow?: readonly CapabilityId[];
        deny: readonly CapabilityId[];
    };
}

Properties

authorization: {
    deniedScopes: readonly string[];
    grantedScopes: readonly string[];
}
availablePeers: readonly string[]
policy?: {
    allow?: readonly CapabilityId[];
    deny: readonly CapabilityId[];
}