Query: curlopt_tlsauth_username
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURLOPT_TLSAUTH_USERNAME(3) curl_easy_setopt options CURLOPT_TLSAUTH_USERNAME(3)NAMECURLOPT_TLSAUTH_USERNAME - user name to use for TLS authenticationSYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TLSAUTH_USERNAME, char *user);DESCRIPTIONPass a char * as parameter, which should point to the zero terminated username to use for the TLS authentication method specified with the CURLOPT_TLSAUTH_TYPE(3) option. Requires that the CURLOPT_TLSAUTH_PASSWORD(3) option also be set. The application does not have to keep the string around after setting this option.DEFAULTNULLPROTOCOLSAll TLS-based protocolsEXAMPLETODOAVAILABILITYAdded in 7.21.4RETURN VALUEReturns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space.SEE ALSOCURLOPT_TLSAUTH_TYPE(3), CURLOPT_TLSAUTH_PASSWORD(3), libcurl 7.54.0 December 21, 2016 CURLOPT_TLSAUTH_USERNAME(3)