Cotal TypeScript packages
    Preparing search index...

    Interface UserTokenActor

    The server-authored actor claim. owner restates sub (cross-checked); actor is the ledger-derived agent-instance id; parent is at most ONE spawner audit link; view is the exchange-authorized elevated profile request (absent = the agent profile).

    interface UserTokenActor {
        actor: string;
        credentialId?: string;
        lifecycleUid?: string;
        managerInstanceId?: string;
        owner: string;
        parent?: string;
        scope?: string[];
        service?: UserTokenService;
        session?: UserTokenSession;
        transferWriter?: UserTokenTransferWriter;
        view?:
            | "admin"
            | "purger"
            | "channel-purger"
            | "channel-writer"
            | "deployer"
            | "manager-service"
            | "manager-caller"
            | "session-caller"
            | "transfer-writer"
            | "service-endpoint"
            | "dm-reader";
    }
    Index
    actor: string
    credentialId?: string

    The credential-ledger row id this bearer was issued under (SPEC 13.1: cred.<uid>.<credid>). The connect boundary leader-reads that row and refuses a bearer whose credential row is revoked or absent (the deny-new lever) — and for a root credential, whose credid is not the lifecycle head's currentCredentialId. Grammar-asserted here (well-formed only); the STATE match is the connect boundary's job, exactly like lifecycleUid.

    lifecycleUid?: string

    The ledger row's lifecycle UID this bearer was minted against (SPEC 13.1). The callout's connect authorization requires exact equality with the CURRENT row; a bearer minted for a retired incarnation is refused, never resolved to the successor.

    managerInstanceId?: string

    The one manager instance a manager-caller bearer may address.

    owner: string
    parent?: string

    The spawning principal (<owner>.<actor> dot-form), when this agent was spawned by another.

    scope?: string[]

    Service-only registration binding, never an ordinary agent profile.

    session?: UserTokenSession

    The one session a session-caller bearer may open (#2312).

    transferWriter?: UserTokenTransferWriter

    The one object a transfer-writer bearer may upload (#1499).

    view?:
        | "admin"
        | "purger"
        | "channel-purger"
        | "channel-writer"
        | "deployer"
        | "manager-service"
        | "manager-caller"
        | "session-caller"
        | "transfer-writer"
        | "service-endpoint"
        | "dm-reader"

    Exchange-authorized elevated view (USER_TOKEN_VIEWS); absent = agent profile.