mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
16 lines
469 B
C#
16 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);
|
|
}
|
|
}
|