2014-07-01 21:57:18 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Controller.Session;
|
2015-03-09 12:40:03 -07:00
|
|
|
|
using System.Threading.Tasks;
|
2017-09-03 11:38:26 -07:00
|
|
|
|
using MediaBrowser.Model.Services;
|
2014-07-01 21:57:18 -07:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
|
|
|
{
|
|
|
|
|
public interface ISessionContext
|
|
|
|
|
{
|
2015-03-09 12:40:03 -07:00
|
|
|
|
Task<SessionInfo> GetSession(object requestContext);
|
|
|
|
|
Task<User> GetUser(object requestContext);
|
|
|
|
|
|
2017-09-03 11:38:26 -07:00
|
|
|
|
Task<SessionInfo> GetSession(IRequest requestContext);
|
|
|
|
|
Task<User> GetUser(IRequest requestContext);
|
2014-07-01 21:57:18 -07:00
|
|
|
|
}
|
|
|
|
|
}
|