Member Junction
    Preparing search index...

    Mints scoped LiveKit access tokens. Stateless apart from its resolved credentials.

    Index

    Constructors

    Accessors

    Methods

    • Throws a clear error when credentials are missing. Public so a caller that must fail before doing costly work (the room coordinator, before it opens a model session) gets the same error minting would.

      Returns void

    • Mints a token for the AGENT bot (publish + subscribe + data, agent role metadata so the UI badges it correctly, and leave to update its own attributes, so it can say when its avatar was taken down). The bridge passes this in its session Configuration.AccessToken.

      Parameters

      • roomName: string

        The room to join.

      • identity: string

        The bot identity.

      • OptionaldisplayName: string

        The bot display name.

      • Optionalattributes: Record<string, string>

        Participant attributes the bot carries from the moment it joins (e.g. mj.agentWatches).

      Returns Promise<MintedToken>

    • Mints a token for a HUMAN participant (publish + subscribe + data, participant role).

      Parameters

      • roomName: string

        The room to join.

      • identity: string

        The participant identity.

      • OptionaldisplayName: string

        The display name.

      • OptionalttlSeconds: number

        Optional token lifetime.

      Returns Promise<MintedToken>