2014-07-02 04:57:18 +00:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Controller.Session;
|
2015-03-09 19:40:03 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2014-07-02 04:57:18 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
|
|
|
{
|
|
|
|
|
public interface ISessionContext
|
|
|
|
|
{
|
2015-03-09 19:40:03 +00:00
|
|
|
|
Task<SessionInfo> GetSession(object requestContext);
|
|
|
|
|
Task<User> GetUser(object requestContext);
|
|
|
|
|
|
|
|
|
|
Task<SessionInfo> GetSession(IServiceRequest requestContext);
|
|
|
|
|
Task<User> GetUser(IServiceRequest requestContext);
|
2014-07-02 04:57:18 +00:00
|
|
|
|
}
|
|
|
|
|
}
|