AskSQL API Reference (core v0.10.0)
    Preparing search index...

    Interface AuthContext

    Result of the host's auth hook.

    interface AuthContext {
        allowedConnectionIds: readonly string[];
        userId: string;
    }
    Index
    allowedConnectionIds: readonly string[]

    Connection ids this user may reach. Enforced on every endpoint.

    userId: string