Jelajahi Sumber

Option to keep existing auth in apiclient

ScottIsAFool 10 tahun lalu
induk
melakukan
cc0cbf0610
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      MediaBrowser.Model/ApiClient/IApiClient.cs

+ 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.