jellyfin/MediaBrowser.Controller/Net/ISessionContext.cs
2020-09-02 12:22:14 +02:00

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);
}
}