Cotal TypeScript packages
    Preparing search index...

    Function principalFromBearer

    • The (owner, actor, lifecycleUid) principal a minted bearer is bound to — read from the JWT payload WITHOUT verification (client side; the broker verifies). A bearer-source endpoint requires the principal pinned at construction, and the caller triple (1c.2c: the v0.4 ep-rail subjects the callout-minted rows pin) needs the ledger lifecycle claim too — the bearer is the one authoritative place all three live.

      Parameters

      • bearer: string

      Returns { actor: string; lifecycleUid: string; owner: string }