mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
19 lines
441 B
C#
19 lines
441 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);
|
|
}
|
|
}
|