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.
jellyfin/MediaBrowser.Controller/Net/ISessionContext.cs

20 lines
441 B

#pragma warning disable CS1591
using Jellyfin.Data.Entities;
6 years ago
using MediaBrowser.Controller.Session;
using Microsoft.AspNetCore.Http;
6 years ago
namespace MediaBrowser.Controller.Net
{
public interface ISessionContext
6 years ago
{
SessionInfo GetSession(object requestContext);
User? GetUser(object requestContext);
6 years ago
SessionInfo GetSession(HttpContext requestContext);
User? GetUser(HttpContext requestContext);
6 years ago
}
}