mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
20 lines
439 B
C#
20 lines
439 B
C#
#pragma warning disable CS1591
|
|
|
|
using Jellyfin.Data.Entities;
|
|
using MediaBrowser.Controller.Session;
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
{
|
|
public interface ISessionContext
|
|
{
|
|
SessionInfo GetSession(object requestContext);
|
|
|
|
User GetUser(object requestContext);
|
|
|
|
SessionInfo GetSession(HttpContext requestContext);
|
|
|
|
User GetUser(HttpContext requestContext);
|
|
}
|
|
}
|