Member Junction
    Preparing search index...

    Parameters for minting a single access token.

    interface MintTokenParams {
        CanPublish?: boolean;
        CanPublishData?: boolean;
        CanSubscribe?: boolean;
        DisplayName?: string;
        Identity: string;
        Metadata?: Record<string, unknown>;
        Role?: LiveKitTokenRole;
        RoomName: string;
        TtlSeconds?: number;
    }
    Index

    Properties

    CanPublish?: boolean

    Whether the participant may publish media. Default: true.

    CanPublishData?: boolean

    Whether the participant may publish data-channel messages. Default: true.

    CanSubscribe?: boolean

    Whether the participant may subscribe to others. Default: true.

    DisplayName?: string

    The display name to publish.

    Identity: string

    The participant identity to embed (stable, application-assigned).

    Metadata?: Record<string, unknown>

    Extra metadata merged into the participant metadata JSON.

    The role stamped into participant metadata (drives the UI's agent/host badges).

    RoomName: string

    The room name the token authorizes joining.

    TtlSeconds?: number

    Token lifetime in seconds. Default: 3600 (1 hour).