diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-11-02 22:38:43 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-11-02 22:38:43 -0500 |
| commit | 7ca1cd8795c465953ddb4560ce62fe6efba9f9d3 (patch) | |
| tree | 637729589e12c3e6bee826ba3f4cc4dc5c1e77ca /MediaBrowser.Controller/Connect/IConnectManager.cs | |
| parent | 7a4d5b79517f28dab668090bc4a540aa7aa75f5f (diff) | |
upgrade to jquery mobile 1.4.5
Diffstat (limited to 'MediaBrowser.Controller/Connect/IConnectManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Connect/IConnectManager.cs | 17 |
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<User>.</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); } } |
