mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 06:17:14 -04: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);
|
|
}
|
|
}
|