Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NTLM authentication #184

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

filipecustodio
Copy link

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

Added authProtocol to allow other authentication protocols to be used in basic authentication.
Allow SetAuthProtocol to change the protocol used in basic authentication to other protocols such as NTLM.
Support the NTLM protocol in basic authentication.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant