Member Junction
    Preparing search index...
    AnonymousSessionOwnerCheck: (
        agentSessionIds: string[],
        user: UserInfo,
        provider?: IMetadataProvider,
    ) => Promise<boolean>

    Decides whether an ANONYMOUS caller owns one of a room's agent sessions. Every anonymous visitor is the ONE shared Anonymous user, so UserID cannot tell visitors apart; the per-visitor scope id can, and only the server that stamps it (MJServer: the session conversation's ExternalID) can compare it. That server registers this check through RoomAuthorizationService.SetAnonymousSessionOwnerCheck; this package cannot import it.

    Type Declaration

      • (
            agentSessionIds: string[],
            user: UserInfo,
            provider?: IMetadataProvider,
        ): Promise<boolean>
      • Parameters

        • agentSessionIds: string[]

          The agent sessions the room carries (from its interactions, bridges and live roster).

        • user: UserInfo

          The anonymous caller.

        • Optionalprovider: IMetadataProvider

        Returns Promise<boolean>

        true when the caller owns at least one of them.