public AvolaClient(string baseUrl, string clientId, X509Certificate2 clientCertificate) : this(baseUrl, clientId) { _handler = new AvolaApiAuthenticationMessageHandler(clientId, clientCertificate); _client = CreateHttpClient(); }
public AvolaClient(string baseUrl, string clientId, string clientSecret, string authenticationUrl, string authenticationScope, bool validateAllServerCertificates) : this(baseUrl, clientId) { _handler = new AvolaApiAuthenticationMessageHandler(clientId, clientSecret, authenticationUrl, authenticationScope, validateAllServerCertificates); _client = CreateHttpClient(); }