using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using FrameworkDAL.DTO.User; namespace FrameworkDAL.CustomCode.UserLogin { public interface ILoggedInUsersDAL { /// /// Returns all active sessions from MSESSIONSTORE in the GB5 system database. /// Task> GetLoggedInUsersAsync(CancellationToken ct = default); /// /// Force-terminates a specific session by deleting its row from MSESSIONSTORE. /// Task ForceLogoutAsync(int loginEventLogId, int serverConfigId, CancellationToken ct = default); } }