Prechádzať zdrojové kódy

Option to keep existing auth in apiclient

ScottIsAFool 10 rokov pred
rodič
commit
cc0cbf0610

+ 2 - 1
MediaBrowser.Model/ApiClient/IApiClient.cs

@@ -790,7 +790,8 @@ namespace MediaBrowser.Model.ApiClient
         /// Changes the server location.
         /// </summary>
         /// <param name="address">The address.</param>
-        void ChangeServerLocation(string address);
+        /// <param name="keepExistingAuth">Don't clear any existing authentication</param>
+        void ChangeServerLocation(string address, bool keepExistingAuth = false);
 
         /// <summary>
         /// Gets or sets the type of the client.