From 1b46fb62c48c86e5f9aed9426a90702e2d392bb6 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 9 Mar 2015 15:40:03 -0400 Subject: fix session not found errors --- MediaBrowser.Controller/Session/ISessionManager.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Controller/Session/ISessionManager.cs') diff --git a/MediaBrowser.Controller/Session/ISessionManager.cs b/MediaBrowser.Controller/Session/ISessionManager.cs index b51b590cf..234a82346 100644 --- a/MediaBrowser.Controller/Session/ISessionManager.cs +++ b/MediaBrowser.Controller/Session/ISessionManager.cs @@ -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. /// /// The token. + /// The remote endpoint. /// SessionInfo. - SessionInfo GetSessionByAuthenticationToken(string token); + Task GetSessionByAuthenticationToken(string token, string remoteEndpoint); + + /// + /// Gets the session by authentication token. + /// + /// The information. + /// The remote endpoint. + /// The application version. + /// Task<SessionInfo>. + Task GetSessionByAuthenticationToken(AuthenticationInfo info, string remoteEndpoint, string appVersion); /// /// Logouts the specified access token. -- cgit v1.2.3