Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

CURL.SetOptionUnrestrictedAuth

Controls whether authentication is reused.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionUnrestrictedAuth"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Whether to follow with authentication. 0

Result

Returns "OK" on success.

Description

Controls whether authentication is reused.
A parameter set to 1 tells the library it can continue to send authentication (user+password) when following locations, even when hostname changed. This option is meaningful only when setting CURL.SetOptionFollowLocation.

See also UNRESTRICTED_AUTH option in CURL manual.

See also

Created 18th August 2014, last changed 28th November 2019


CURL.SetOptionUnixSocketPath - CURL.SetOptionUpkeepIntervalMS

Feedback: Report problem or ask question.