mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
15 lines
448 B
C#
15 lines
448 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.Session;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
{
|
|
public interface ISessionContext
|
|
{
|
|
Task<SessionInfo> GetSession(object requestContext);
|
|
Task<User> GetUser(object requestContext);
|
|
|
|
Task<SessionInfo> GetSession(IServiceRequest requestContext);
|
|
Task<User> GetUser(IServiceRequest requestContext);
|
|
}
|
|
}
|