aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Connect
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-17 01:58:29 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-17 01:58:29 -0400
commit4915da4cdd9bd7de3f67fa681e06585dbbcfafdb (patch)
treec4464a09fd93f4a19a7095837920566735f86468 /MediaBrowser.Controller/Connect
parent84244b8cacd86f7da8b587e04b577faea2101099 (diff)
sync updates
Diffstat (limited to 'MediaBrowser.Controller/Connect')
-rw-r--r--MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs16
-rw-r--r--MediaBrowser.Controller/Connect/IConnectManager.cs6
2 files changed, 22 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs b/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs
new file mode 100644
index 000000000..47ff90e70
--- /dev/null
+++ b/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs
@@ -0,0 +1,16 @@
+using MediaBrowser.Model.Connect;
+using System.Collections.Generic;
+
+namespace MediaBrowser.Controller.Connect
+{
+ public class ConnectSupporterSummary
+ {
+ public int MaxUsers { get; set; }
+ public List<ConnectUser> Users { get; set; }
+
+ public ConnectSupporterSummary()
+ {
+ Users = new List<ConnectUser>();
+ }
+ }
+}
diff --git a/MediaBrowser.Controller/Connect/IConnectManager.cs b/MediaBrowser.Controller/Connect/IConnectManager.cs
index a0ab1f9b6..4003d1bf2 100644
--- a/MediaBrowser.Controller/Connect/IConnectManager.cs
+++ b/MediaBrowser.Controller/Connect/IConnectManager.cs
@@ -69,5 +69,11 @@ namespace MediaBrowser.Controller.Connect
/// <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);
+
+ /// <summary>
+ /// Gets the connect supporter summary.
+ /// </summary>
+ /// <returns>Task&lt;ConnectSupporterSummary&gt;.</returns>
+ Task<ConnectSupporterSummary> GetConnectSupporterSummary();
}
}