Cotal TypeScript packages
    Preparing search index...

    Function openUserChatSession

    • User mode: each opening is its own principal <owner>.chat_<…> at a fresh lifecycle UID, which the space's auth service draws and admits under the signed-in human's own cli grant, confined to the given read and post lists and to ttlSec. No cli, managed or other borrowed identity connects.

      The holder secret lives in this process's memory only: admission receives its SHA-256, and each bearer exchange and the retirement present the secret itself. No bearer, sentinel or holder secret is returned, printed or written. Mode, server, TLS and space come from the one resolved target, and the open names that target's IdP and exchange position so the provider cannot follow a re-registered entry; the session's later requests reuse the route its open resolved.

      Parameters

      • target: MeshTarget
      • options: {
            channels: readonly string[];
            label: string;
            post: readonly string[];
            read: readonly string[];
            ttlSec: number;
            words: ChatWords;
        }

      Returns Promise<NativeChatSession>