Cotal TypeScript packages
    Preparing search index...

    Interface IssueClaims

    The claims a caller supplies to mint a bearer — the owner is already derived and the actor is already ledger-authorized upstream; the issuer only stamps and signs.

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

    The ledger-authorized agent-instance id (becomes act.actor; grammar-asserted).

    credentialId?: string

    The credential-ledger row id (SPEC 13.1: cred.<uid>.<credid>) this bearer is issued under. Stamped whenever the issuance ledgered a row; the connect boundary leader-reads it and denies a revoked/absent-row bearer (deny-new), so the issuer ↔ validator inverse must carry it.

    lifecycleUid?: string

    The ledger row's lifecycle UID (SPEC 13.1) — lifecycle-BINDS the bearer: the callout requires exact equality with the CURRENT row at connect, so a predecessor incarnation's still-unexpired bearer can never mint the successor's broker authority. Stamped whenever the row carries one.

    managerInstanceId?: string

    Exact manager instance bound to the manager-caller view.

    notAfter?: number

    Absolute expiry ceiling in unix seconds, such as the expiry of the proof the bearer rests on. exp is the earlier of now + ttlSec and this, read at signing time, so time spent before signing shortens the bearer instead of extending it; a ceiling at or before now THROWS.

    owner: string

    The opaque derived owner (u_…; format-asserted).

    parent?: string

    At most one spawner audit link, <owner>.<actor> dot-form.

    scope?: string[]

    Capability scope.

    session?: UserTokenSession

    The one session bound to the session-caller view (#2312), already ledger-verified upstream.

    space: string

    The space the bearer is scoped to (becomes aud).

    transferWriter?: UserTokenTransferWriter

    The one object bound to the transfer-writer view (#1499).

    ttlSec?: number

    Requested lifetime; capped at the view's viewTtlCapSec (an overlong ask THROWS).

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

    Exchange-authorized elevated view (already ledger-checked upstream; the issuer only stamps — and re-asserts the closed enum, mint ↔ validate inverse).