mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 18:42:52 -07:00
16 lines
448 B
C#
16 lines
448 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.Session;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
{
|
|
public interface ISessionContext
|
|
{
|
|
Task<SessionInfo> GetSession(object requestContext);
|
|
Task<User> GetUser(object requestContext);
|
|
|
|
Task<SessionInfo> GetSession(IServiceRequest requestContext);
|
|
Task<User> GetUser(IServiceRequest requestContext);
|
|
}
|
|
}
|