Cotal TypeScript packages
    Preparing search index...

    Function readAdmission

    • Open and check one chat-session-open reply. The outer reply must have its contract shape; the sealed payload must open with recipient, which it uses up, must carry exactly the sealed keys, and must bind the expected space and responding instance, this recipient's own key and the outer alias, actor, uid and expiry; and its credential must be the identity it names. Undefined when any part does not hold; the caller never uses a reply that fails here.

      Parameters

      • data: unknown
      • recipient: SealRecipient
      • expected: { managerInstanceId: string; space: string }

      Returns StaticAdmission | undefined