diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-06-10 12:58:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-06-10 12:58:40 +0000 |
commit | 39ea557360eb40ccab00fe153fd28284477ddd0e (patch) | |
tree | ffff7474ac3908845f5607d0b4d78fb64df9864a /docs/libcurl | |
parent | d0cc92a01a5b373c6730acd84009294da9c29e44 (diff) |
CURLOPT_HTTPAUTH docu
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index ea66ace5b..8e0c7d850 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1,7 +1,7 @@ .\" nroff -man [file] .\" $Id$ .\" -.TH curl_easy_setopt 3 "3 Dec 2002" "libcurl 7.10.3" "libcurl Manual" +.TH curl_easy_setopt 3 "10 Jun 2003" "libcurl 7.10.6" "libcurl Manual" .SH NAME curl_easy_setopt - set options for a curl easy handle .SH SYNOPSIS @@ -333,20 +333,29 @@ the connection to the HTTP proxy. If the password is left out, you will be prompted for it. \fICURLOPT_PASSWDFUNCTION\fP can be used to set your own prompt function. .TP -.B CURLOPT_HTTPDIGEST -Pass a long set to a non-zero value to enable HTTP Digest authentication. -Digest authentication is defined in RFC2617 and is a somewhat more secure way -to do user+password checking over public networks than the regular -old-fashioned Basic authentication. By default, libcurl uses Basic. Set name -and password with the CURLOPT_USERPWD option. (Added in 7.10.6) -.TP -.B CURLOPT_HTTPNEGOTIATE -Pass a long set to a non-zero value to enable HTTP Negotiate authentication. -The Negotiate method was designed by Microsoft and is used in their web -aplications. It is primarily meant as a support for Kerberos5 authentication -but may be also used along with another authentication methods. For more -information see IETF draft draft-brezak-spnego-http-04.txt. Set name and -password with the CURLOPT_USERPWD option. (Added in 7.10.6) +.B CURLOPT_HTTPAUTH +Pass a long set to one of the curl_httpauth values, to tell libcurl what +authentication method you want it to use. Set the actual name and password +with the \fICURLOPT_USERPWD\fP option. (Added in 7.10.6) +.RS +.TP 5 +.B CURLHTTP_BASIC +enables HTTP Basic authentication. This is the default choice, and the only +method that is in wide-spread use and supported everywhere. +.TP +.B CURLHTTP_DIGEST +enables HTTP Digest authentication. Digest authentication is defined in +RFC2617 and is a somewhat more secure way to do user+password checking over +public networks than the regular old-fashioned Basic authentication. By +default, libcurl uses Basic. +.TP +.B CURLHTTP_NEGOTIATE +enables HTTP Negotiate authentication. The Negotiate method was designed by +Microsoft and is used in their web aplications. It is primarily meant as a +support for Kerberos5 authentication but may be also used along with another +authentication methods. For more information see IETF draft +draft-brezak-spnego-http-04.txt. +.RE .PP .SH HTTP OPTIONS .TP 0.4i |