IFClite TypeScript API
    Preparing search index...

    Interface SessionIdentity

    Who is calling, transport-wise. Multi-client transports (Streamable HTTP) run one MCPServer per session, and per-session state — the layer workspace in particular (#1030) — keys off id.

    interface SessionIdentity {
        id?: string;
        principal?: string;
    }
    Index
    id?: string

    Transport session id; undefined for stdio/in-process (local mode).

    principal?: string

    Authenticated user identity from AuthScope.user; undefined when unauthenticated.