2020-08-22 15:56:24 -04:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2020-05-12 22:10:35 -04:00
|
|
|
using Jellyfin.Data.Entities;
|
2018-12-27 18:27:57 -05:00
|
|
|
using MediaBrowser.Controller.Session;
|
2020-09-02 06:22:14 -04:00
|
|
|
using Microsoft.AspNetCore.Http;
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
|
|
{
|
2019-01-07 18:27:46 -05:00
|
|
|
public interface ISessionContext
|
2018-12-27 18:27:57 -05:00
|
|
|
{
|
|
|
|
SessionInfo GetSession(object requestContext);
|
2020-08-22 15:56:24 -04:00
|
|
|
|
2021-05-20 15:28:18 -04:00
|
|
|
User? GetUser(object requestContext);
|
2018-12-27 18:27:57 -05:00
|
|
|
|
2020-09-02 06:22:14 -04:00
|
|
|
SessionInfo GetSession(HttpContext requestContext);
|
2020-08-22 15:56:24 -04:00
|
|
|
|
2021-05-20 15:28:18 -04:00
|
|
|
User? GetUser(HttpContext requestContext);
|
2018-12-27 18:27:57 -05:00
|
|
|
}
|
|
|
|
}
|