Explorar o código

Option to keep existing auth in apiclient

ScottIsAFool %!s(int64=10) %!d(string=hai) anos
pai
achega
cc0cbf0610
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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.