Cotal TypeScript packages
    Preparing search index...

    Function deriveOwnerForIdpSubject

    • Derive the owner for an IdP-authenticated subject — the ONE encoding of (idp issuer, sub) into the derivation input, shared by the bridge exchange and the operator grant command so the two can never drift. JSON-array encoding, NOT ${issuer}|${sub}: a bare-delimiter concat is non-injective (("a","b|c") and ("a|b","c") would collide). FROZEN once real owners exist — changing it (or the IdP issuer string) re-keys every owner in the space.

      Parameters

      • spaceSecret: string | Uint8Array<ArrayBufferLike>
      • idpIssuer: string
      • sub: string

      Returns string