Cotal TypeScript packages
    Preparing search index...

    Type Alias AttachSessionTarget

    The mesh contract that decides how attach redeems a session grant. The mode is the REGISTERED one (MeshTarget.mode), carried forward from the resolve. It is the only input to the decision: spaceAuth says whether a SEALED mesh's seed is present, and is never consulted to decide which kind of mesh this is.

    type AttachSessionTarget = {
        auth: { bearer?: unknown };
        mode?: "auth" | "open" | "user";
        root?: string;
        server: string;
        space: string;
        spaceAuth?: SpaceAuth;
    }
    Index
    auth: { bearer?: unknown }
    mode?: "auth" | "open" | "user"
    root?: string
    server: string
    space: string
    spaceAuth?: SpaceAuth