aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs14
1 files changed, 12 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs
index e5c1beb4a..723e3ffc4 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/PPCWebClientBase.cs
@@ -1,7 +1,7 @@
+using System;
using System.Threading.Tasks;
using Tango.Web;
-using Tango.Web.Authentication;
namespace Tango.PPC.Common.Web
{
@@ -16,7 +16,7 @@ namespace Tango.PPC.Common.Web
/// </summary>
/// <param name="environment">The environment.</param>
/// <param name="token">Existing token.</param>
- public PPCWebClientBase(DeploymentSlot environment, WebToken token) : base(environment, "PPC", token)
+ public PPCWebClientBase(DeploymentSlot environment, String token) : base(environment, "PPC", token)
{
}
@@ -31,6 +31,16 @@ namespace Tango.PPC.Common.Web
}
/// <summary>
+ /// Initializes a new instance of the <see cref="PPCWebClientBase"/> class.
+ /// </summary>
+ /// <param name="address">The service address.</param>
+ /// <param name="token">Existing token.</param>
+ public PPCWebClientBase(String address, String token) : base(address, "PPC", token)
+ {
+
+ }
+
+ /// <summary>
/// Executes the MachineSetup action and returns Tango.PPC.Common.Web.MachineSetupResponse.
/// </summary>
/// <returns></returns>