Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionTLSAuthUsername
Sets the TSL authentication user name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionTLSAuthUsername"; curl; Username { ; Encoding } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
curl | The CURL session handle. | $curl | |
Username | The user name. | $Username | |
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 user name.Please also set OptionTLSAuthType.
See also TLSAUTH_USERNAME option in CURL manual.
See also
- CURL.SetOptionProxyTLSAuthUsername
- CURL.SetOptionProxyUsername
- CURL.SetOptionTLSAuthPassword
- CURL.SetOptionTLSAuthType
Created 18th August 2014, last changed 5th July 2015