using System;
namespace CryptoExchange.Net.Authentication
{
public class ApiCredentials
{
///
/// The api key
///
public string Key { get; }
///
/// The api secret
///
public string Secret { get; }
public ApiCredentials() { }
public ApiCredentials(string key, string secret)
{
if(string.IsNullOrEmpty(key) || string.IsNullOrEmpty(secret))
throw new ArgumentException("Apikey or apisecret not provided");
Key = key;
Secret = secret;
}
}
}