Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

CURL.SetOptionProxyAuth

Sets which authentication methods are used.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes

MBS( "CURL.SetOptionProxyAuth"; Handle; Value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The bitmask of allowed authentication methods. 15

Result

Returns "OK" on success.

Description

Sets which authentication methods are used.
Pass a number as parameter, which is set to a bitmask, to tell libcurl which 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 CURL.SetOptionProxyUsername option. The bitmask can be constructed by or'ing together the bits listed above for the CURL.SetOptionHTTPAuth option. As of this writing, only Basic, Digest and NTLM work.

See also PROXYAUTH option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014


CURL.SetOptionProxy   -   CURL.SetOptionProxyCAInfo

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins