mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-12 00:43:03 +00:00
Various fixes
This commit is contained in:
@@ -4,16 +4,17 @@ namespace CryptoExchange.Net.Authentication
|
||||
{
|
||||
public abstract class AuthenticationProvider
|
||||
{
|
||||
protected ApiCredentials credentials;
|
||||
public ApiCredentials Credentials { get; }
|
||||
|
||||
protected AuthenticationProvider(ApiCredentials credentials)
|
||||
{
|
||||
this.credentials = credentials;
|
||||
Credentials = credentials;
|
||||
}
|
||||
|
||||
public abstract string AddAuthenticationToUriString(string uri, bool signed);
|
||||
public abstract IRequest AddAuthenticationToRequest(IRequest request, bool signed);
|
||||
|
||||
public abstract string Sign(string toSign);
|
||||
|
||||
protected string ByteToString(byte[] buff)
|
||||
{
|
||||
var sbinary = "";
|
||||
|
||||
Reference in New Issue
Block a user