2018-12-27 23:27:57 +00:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using MediaBrowser.Model.Services;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
|
|
|
{
|
2019-01-07 23:27:46 +00:00
|
|
|
|
public interface ISessionContext
|
2018-12-27 23:27:57 +00:00
|
|
|
|
{
|
|
|
|
|
SessionInfo GetSession(object requestContext);
|
|
|
|
|
User GetUser(object requestContext);
|
|
|
|
|
|
|
|
|
|
SessionInfo GetSession(IRequest requestContext);
|
|
|
|
|
User GetUser(IRequest requestContext);
|
|
|
|
|
}
|
|
|
|
|
}
|