mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
fix session not found errors
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Controller.Security;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Events;
|
||||
using MediaBrowser.Model.Session;
|
||||
@@ -282,8 +283,18 @@ namespace MediaBrowser.Controller.Session
|
||||
/// Gets the session by authentication token.
|
||||
/// </summary>
|
||||
/// <param name="token">The token.</param>
|
||||
/// <param name="remoteEndpoint">The remote endpoint.</param>
|
||||
/// <returns>SessionInfo.</returns>
|
||||
SessionInfo GetSessionByAuthenticationToken(string token);
|
||||
Task<SessionInfo> GetSessionByAuthenticationToken(string token, string remoteEndpoint);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the session by authentication token.
|
||||
/// </summary>
|
||||
/// <param name="info">The information.</param>
|
||||
/// <param name="remoteEndpoint">The remote endpoint.</param>
|
||||
/// <param name="appVersion">The application version.</param>
|
||||
/// <returns>Task<SessionInfo>.</returns>
|
||||
Task<SessionInfo> GetSessionByAuthenticationToken(AuthenticationInfo info, string remoteEndpoint, string appVersion);
|
||||
|
||||
/// <summary>
|
||||
/// Logouts the specified access token.
|
||||
|
||||
Reference in New Issue
Block a user