jellyfin/MediaBrowser.Controller/Net/ISessionContext.cs

20 lines
439 B
C#
Raw Normal View History

#pragma warning disable CS1591
2020-05-13 02:10:35 +00:00
using Jellyfin.Data.Entities;
2018-12-27 23:27:57 +00:00
using MediaBrowser.Controller.Session;
2020-09-02 10:22:14 +00:00
using Microsoft.AspNetCore.Http;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Controller.Net
{
2019-01-07 23:27:46 +00:00
public interface ISessionContext
2018-12-27 23:27:57 +00:00
{
SessionInfo GetSession(object requestContext);
2018-12-27 23:27:57 +00:00
User GetUser(object requestContext);
2020-09-02 10:22:14 +00:00
SessionInfo GetSession(HttpContext requestContext);
2020-09-02 10:22:14 +00:00
User GetUser(HttpContext requestContext);
2018-12-27 23:27:57 +00:00
}
}