17 lines
469 B
C#
17 lines
469 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.Session;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Model.Services;
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
{
|
|
public interface ISessionContext
|
|
{
|
|
Task<SessionInfo> GetSession(object requestContext);
|
|
Task<User> GetUser(object requestContext);
|
|
|
|
Task<SessionInfo> GetSession(IRequest requestContext);
|
|
Task<User> GetUser(IRequest requestContext);
|
|
}
|
|
}
|