diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Services/ExternalBridgeClient.cs | 4 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Services/IExternalBridgeClient.cs | 2 |
2 files changed, 3 insertions, 3 deletions
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<bool> Authenticate() + public async Task<bool> Authenticate(String password) { - var response = await SendRequest<ExternalClientLoginRequest, ExternalClientLoginResponse>(new ExternalClientLoginRequest() { Key = "1234" }); + var response = await SendRequest<ExternalClientLoginRequest, ExternalClientLoginResponse>(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<bool> Authenticate(); + Task<bool> Authenticate(String password); } } |
