Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.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


CURL.SetOptionProxy   -   CURL.SetOptionProxyPassword

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins