restclient-cpp
restclient-cpp copied to clipboard
Support NTLM authentication
To authenticate to Microsoft Dynamics CRM on premises, we are using the CURL command line with the --ntlm option to successfully authenticate using basic authentication. Although the NTLM protocol is supported by libcurl, a change was needed to access this functionality from restclient-cpp. I added a SetAuthProtocol method to RestClient::Connection which accepts all authentication protocols supported by libcurl (Basic, Digest, NTLM, etc.). This change was reflected in the documentation as well. Let me know what you think! Cheers, Filipe Custódio