The Free Software Media System - Server Backend & API
Cleanup interfaces
Matt Montgomery31d3b1b83aa3
diff --git a/MediaBrowser.Controller/QuickConnect/IQuickConnect.cs b/MediaBrowser.Controller/QuickConnect/IQuickConnect.csindex 5518e0385d..993637c8aa 100644--- a/MediaBrowser.Controller/QuickConnect/IQuickConnect.cs+++ b/MediaBrowser.Controller/QuickConnect/IQuickConnect.cs@@ -13,22 +13,22 @@ namespace MediaBrowser.Controller.QuickConnect/// <summary>/// Gets or sets the length of user facing codes./// </summary>- public int CodeLength { get; set; }+ int CodeLength { get; set; }/// <summary>/// Gets or sets the string to prefix internal access tokens with./// </summary>- public string TokenNamePrefix { get; set; }+ string TokenNamePrefix { get; set; }/// <summary>/// Gets the current state of quick connect./// </summary>- public QuickConnectState State { get; }+ QuickConnectState State { get; }/// <summary>/// Gets or sets the time (in minutes) before quick connect will automatically deactivate./// </summary>- public int Timeout { get; set; }+ int Timeout { get; set; }/// <summary>/// Assert that quick connect is currently active and throws an exception if it is not.@@ -72,7 +72,7 @@ namespace MediaBrowser.Controller.QuickConnect/// Expire quick connect requests that are over the time limit. If <paramref name="expireAll"/> is true, all requests are unconditionally expired./// </summary>/// <param name="expireAll">If true, all requests will be expired.</param>- public void ExpireRequests(bool expireAll = false);+ void ExpireRequests(bool expireAll = false);/// <summary>/// Deletes all quick connect access tokens for the provided user.diff --git a/MediaBrowser.Controller/Session/ISessionManager.cs b/MediaBrowser.Controller/Session/ISessionManager.csindex 23230e41e5..ffa19fb690 100644--- a/MediaBrowser.Controller/Session/ISessionManager.cs+++ b/MediaBrowser.Controller/Session/ISessionManager.cs@@ -264,7 +264,12 @@ namespace MediaBrowser.Controller.Session/// <returns>Task{SessionInfo}.</returns>Task<AuthenticationResult> AuthenticateNewSession(AuthenticationRequest request);- public Task<AuthenticationResult> AuthenticateQuickConnect(AuthenticationRequest request, string token);+ /// <summary>+ /// Authenticates a new session with quick connect.+ /// </summary>+ /// <param name="request">The request.</param>+ /// <returns>Task{SessionInfo}.</returns>+ Task<AuthenticationResult> AuthenticateQuickConnect(AuthenticationRequest request, string token);/// <summary>/// Creates the new session.