aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Session
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-08 15:48:30 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-08 15:48:30 -0400
commitccb2dda358a54810d940c0c7ddceb255a82ae947 (patch)
tree0a6a673390bb8f3e88fbe7f69e408f31c99d18ec /MediaBrowser.Controller/Session
parent55c47e50fc261849c277cb65654d91a8c5a8e308 (diff)
connect to socket with access token
Diffstat (limited to 'MediaBrowser.Controller/Session')
-rw-r--r--MediaBrowser.Controller/Session/ISessionManager.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Session/ISessionManager.cs b/MediaBrowser.Controller/Session/ISessionManager.cs
index 4082f5600..b51b590cf 100644
--- a/MediaBrowser.Controller/Session/ISessionManager.cs
+++ b/MediaBrowser.Controller/Session/ISessionManager.cs
@@ -279,6 +279,13 @@ namespace MediaBrowser.Controller.Session
SessionInfo GetSession(string deviceId, string client, string version);
/// <summary>
+ /// Gets the session by authentication token.
+ /// </summary>
+ /// <param name="token">The token.</param>
+ /// <returns>SessionInfo.</returns>
+ SessionInfo GetSessionByAuthenticationToken(string token);
+
+ /// <summary>
/// Logouts the specified access token.
/// </summary>
/// <param name="accessToken">The access token.</param>