aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Connect/IConnectManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-11-02 22:38:43 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-11-02 22:38:43 -0500
commit7ca1cd8795c465953ddb4560ce62fe6efba9f9d3 (patch)
tree637729589e12c3e6bee826ba3f4cc4dc5c1e77ca /MediaBrowser.Controller/Connect/IConnectManager.cs
parent7a4d5b79517f28dab668090bc4a540aa7aa75f5f (diff)
upgrade to jquery mobile 1.4.5
Diffstat (limited to 'MediaBrowser.Controller/Connect/IConnectManager.cs')
-rw-r--r--MediaBrowser.Controller/Connect/IConnectManager.cs17
1 files changed, 16 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Connect/IConnectManager.cs b/MediaBrowser.Controller/Connect/IConnectManager.cs
index 32a6c449e..a0ab1f9b6 100644
--- a/MediaBrowser.Controller/Connect/IConnectManager.cs
+++ b/MediaBrowser.Controller/Connect/IConnectManager.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Model.Connect;
+using MediaBrowser.Controller.Entities;
+using MediaBrowser.Model.Connect;
using System.Collections.Generic;
using System.Threading.Tasks;
@@ -54,5 +55,19 @@ namespace MediaBrowser.Controller.Connect
/// <param name="passwordMd5">The password MD5.</param>
/// <returns>Task.</returns>
Task Authenticate(string username, string passwordMd5);
+
+ /// <summary>
+ /// Gets the local user.
+ /// </summary>
+ /// <param name="connectUserId">The connect user identifier.</param>
+ /// <returns>Task&lt;User&gt;.</returns>
+ Task<User> GetLocalUser(string connectUserId);
+
+ /// <summary>
+ /// Determines whether [is authorization token valid] [the specified token].
+ /// </summary>
+ /// <param name="token">The token.</param>
+ /// <returns><c>true</c> if [is authorization token valid] [the specified token]; otherwise, <c>false</c>.</returns>
+ bool IsAuthorizationTokenValid(string token);
}
}