Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionTLSAuthPassword
Sets the TSL authentication password.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionTLSAuthPassword"; curl; Password { ; Encoding } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
curl | The CURL session handle. | $curl | |
Password | The password. | $Password | |
Encoding | The text encoding for text parameter. Default is UTF-8. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"UTF8" | Optional |
Result
Returns OK or error.
Description
Sets the TSL authentication password.Please also set OptionTLSAuthType, see also CURL.SetOptionTLSAuthType.
See also TLSAUTH_PASSWORD option in CURL manual.
See also
- CURL.SetOptionKeyPassword
- CURL.SetOptionProxyKeyPassword
- CURL.SetOptionProxyPassword
- CURL.SetOptionProxyTLSAuthPassword
- CURL.SetOptionTLSAuthType
- CURL.SetOptionTLSAuthUsername
Created 18th August 2014, last changed 16th January 2024
