From 2ea2bb5bcd96045f1bd6cb4c3d8b8416dbaa05dc Mon Sep 17 00:00:00 2001 From: Roy Date: Tue, 26 Dec 2017 21:16:15 +0200 Subject: MERGE --- .../Visual_Studio/Tango.Integration/Services/ExternalBridgeClient.cs | 4 ++-- .../Visual_Studio/Tango.Integration/Services/IExternalBridgeClient.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Software/Visual_Studio/Tango.Integration/Services') diff --git a/Software/Visual_Studio/Tango.Integration/Services/ExternalBridgeClient.cs b/Software/Visual_Studio/Tango.Integration/Services/ExternalBridgeClient.cs index 47e30f46f..1ecbf4c22 100644 --- a/Software/Visual_Studio/Tango.Integration/Services/ExternalBridgeClient.cs +++ b/Software/Visual_Studio/Tango.Integration/Services/ExternalBridgeClient.cs @@ -53,9 +53,9 @@ namespace Tango.Integration.Services await base.Connect(); } - public async Task Authenticate() + public async Task Authenticate(String password) { - var response = await SendRequest(new ExternalClientLoginRequest() { Key = "1234" }); + var response = await SendRequest(new ExternalClientLoginRequest() { Password = password }); return response.Message.Authenticated; } diff --git a/Software/Visual_Studio/Tango.Integration/Services/IExternalBridgeClient.cs b/Software/Visual_Studio/Tango.Integration/Services/IExternalBridgeClient.cs index 6eb0ac5f9..c5cb1d378 100644 --- a/Software/Visual_Studio/Tango.Integration/Services/IExternalBridgeClient.cs +++ b/Software/Visual_Studio/Tango.Integration/Services/IExternalBridgeClient.cs @@ -17,6 +17,6 @@ namespace Tango.Integration.Services String IPAddress { get; set; } - Task Authenticate(); + Task Authenticate(String password); } } -- cgit v1.3.1