Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curlopt_proxyauth(3) [mojave man page]

CURLOPT_PROXYAUTH(3)					     curl_easy_setopt options					      CURLOPT_PROXYAUTH(3)

NAME
CURLOPT_PROXYAUTH - set HTTP proxy authentication methods to try SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYAUTH, long bitmask); DESCRIPTION
Pass a long as parameter, which is set to a bitmask, to tell libcurl which HTTP authentication method(s) you want it to use for your proxy authentication. If more than one bit is set, libcurl will first query the site to see what authentication methods it supports and then pick the best one you allow it to use. For some methods, this will induce an extra network round-trip. Set the actual name and password with the CURLOPT_PROXYUSERPWD(3) option. The bitmask can be constructed by or'ing together the bits fully listed and described in the CURLOPT_HTTPAUTH(3) man page. DEFAULT
CURLAUTH_BASIC PROTOCOLS
HTTP EXAMPLE
TODO AVAILABILITY
Added in 7.10.7 RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_NOT_BUILT_IN if the bitmask specified no supported authentication methods. SEE ALSO
CURLOPT_PROXY(3), CURLOPT_PROXYTYPE(3), CURLOPT_PROXYUSERPWD(3), CURLOPT_PROXYPORT(3), libcurl 7.54.0 February 03, 2016 CURLOPT_PROXYAUTH(3)

Check Out this Related Man Page

CURLOPT_GSSAPI_DELEGATION(3)				     curl_easy_setopt options				      CURLOPT_GSSAPI_DELEGATION(3)

NAME
CURLOPT_GSSAPI_DELEGATION - set allowed GSS-API delegation SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_GSSAPI_DELEGATION, long level); DESCRIPTION
Set the long parameter level to CURLGSSAPI_DELEGATION_FLAG to allow unconditional GSSAPI credential delegation. The delegation is disabled by default since 7.21.7. Set the parameter to CURLGSSAPI_DELEGATION_POLICY_FLAG to delegate only if the OK-AS-DELEGATE flag is set in the service ticket in case this feature is supported by the GSS-API implementation and the definition of GSS_C_DELEG_POLICY_FLAG was available at compile-time. DEFAULT
CURLGSSAPI_DELEGATION_NONE PROTOCOLS
HTTP EXAMPLE
TODO AVAILABILITY
Added in 7.22.0 RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_HTTPAUTH(3), CURLOPT_PROXYAUTH(3), libcurl 7.54.0 February 03, 2016 CURLOPT_GSSAPI_DELEGATION(3)
Man Page

We Also Found This Discussion For You

1. Programming

Unable to use libcurl to access a site requiring client authentication

I’m using the below snipped for setting the certificate and key for client authentication. curl_easy_setopt(curl,CURLOPT_SSLCERT,"clientCert.pem"); curl_easy_setopt(curl,CURLOPT_SSLCERTPASSWD,"changeit"); curl_easy_setopt(curl,CURLOPT_SSLCERTTYPE,"PEM"); ... (2 Replies)
Discussion started by: old_as_a_fossil
2 Replies