diff --git a/CryptoExchange.Net/Clients/SocketApiClient.cs b/CryptoExchange.Net/Clients/SocketApiClient.cs index 7ca9391..f14682b 100644 --- a/CryptoExchange.Net/Clients/SocketApiClient.cs +++ b/CryptoExchange.Net/Clients/SocketApiClient.cs @@ -381,7 +381,7 @@ namespace CryptoExchange.Net.Clients return new CallResult(new NoApiCredentialsError()); _logger.AttemptingToAuthenticate(socket.SocketId); - var authRequest = GetAuthenticationRequest(); + var authRequest = GetAuthenticationRequest(socket); if (authRequest != null) { var result = await socket.SendAndWaitQueryAsync(authRequest).ConfigureAwait(false); @@ -406,7 +406,7 @@ namespace CryptoExchange.Net.Clients /// Should return the request which can be used to authenticate a socket connection /// /// - protected internal virtual Query? GetAuthenticationRequest() => throw new NotImplementedException(); + protected internal virtual Query? GetAuthenticationRequest(SocketConnection connection) => throw new NotImplementedException(); /// /// Adds a system subscription. Used for example to reply to ping requests