Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Web / PUSG.Web / Services / ISessionService.cs
blob: 9560faed9059f661db832d619a796a87ec6aea38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System.Collections.Generic;

namespace PUSG.Web.Services
{
    public interface ISessionService
    {
        bool IsLogged(string username);

        void AddUser(string connectionId, string username);

        void RemoveUser(string connectionId);

        Dictionary<string, string> Users { get; }

        List<string> LiveConnections { get; }

        KeyValuePair<string, string> GetUser(string connectionId);
    }
}