Procházet zdrojové kódy

Option to keep existing auth in apiclient

ScottIsAFool před 10 roky
rodič
revize
cc0cbf0610
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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.