How does curl-lib deal with authentication?
Date: Tue, 13 Jan 2009 00:24:46 -0700
I've been reading the curl-lib documentation in order to understand
how curl handles authentication. In particular, I'm looking at:
which appears to control, among other things, authentication
parameters like username and password. It seems that one option is to
have libcurl read usernames and passwords from a plaintext file on the
local filesystem. Apparently, this is how 'git' uses it. I however,
cannot, in good conscience, ask my users to put their passwords in a
Instead, is there a mechanism that I can use to establish a callback
function to ask the user for their credentials?
Received on 2009-01-13