You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
495 B
21 lines
495 B
#pragma warning disable CS1591
|
|
|
|
using System.Threading.Tasks;
|
|
using Jellyfin.Data.Entities;
|
|
using MediaBrowser.Controller.Session;
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
{
|
|
public interface ISessionContext
|
|
{
|
|
Task<SessionInfo> GetSession(object requestContext);
|
|
|
|
Task<User?> GetUser(object requestContext);
|
|
|
|
Task<SessionInfo> GetSession(HttpContext requestContext);
|
|
|
|
Task<User?> GetUser(HttpContext requestContext);
|
|
}
|
|
}
|