lib-jitsi-meet
    Preparing search index...

    Interface IAuthenticateAndUpgradeRoleOptions

    Options for authenticateAndUpgradeRole.

    interface IAuthenticateAndUpgradeRoleOptions {
        id: string;
        onCreateResource?: (jid: string, isAuthenticatedUser: boolean) => string;
        onLoginSuccessful?: () => void;
        password: string;
    }
    Index

    Properties

    id: string
    onCreateResource?: (jid: string, isAuthenticatedUser: boolean) => string

    Type declaration

      • (jid: string, isAuthenticatedUser: boolean): string
      • Create a resource for the a jid. We use the room nickname (the resource part of the occupant JID, see XEP-0045) as the endpoint ID in colibri. We require endpoint IDs to be 8 hex digits because in some cases they get serialized into a 32bit field.

        Parameters

        • jid: string

          The id set onto the XMPP connection.

        • isAuthenticatedUser: boolean

          Whether or not the user has connected to the XMPP service with a password.

        Returns string

    onLoginSuccessful?: () => void
    password: string