Explorar el Código

Option to keep existing auth in apiclient

ScottIsAFool hace 10 años
padre
commit
cc0cbf0610
Se han modificado 1 ficheros con 2 adiciones y 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.