be88efce3c
# Conflicts: # Emby.Server.Implementations/Devices/DeviceManager.cs # Emby.Server.Implementations/HttpServer/Security/SessionContext.cs # Emby.Server.Implementations/Security/AuthenticationRepository.cs # Emby.Server.Implementations/Session/SessionManager.cs # Jellyfin.Server.Implementations/Security/AuthorizationContext.cs # MediaBrowser.Controller/Library/IUserManager.cs # MediaBrowser.Controller/Net/ISessionContext.cs
21 lines
495 B
C#
21 lines
495 B
C#
#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);
|
|
}
|
|
}
|