CURL.GetHTTPAuthAvail
---------------------

Get a bitmask indicating the authentication method(s) available.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.GetHTTPAuthAvail"; curl ) 

**MBS**( **"CURL.GetHTTPAuthAvail";** /\* Get a bitmask indicating the authentication method(s) available. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |

### Result

Returns the requested value or nothing on error.

### Description

Get a bitmask indicating the authentication method(s) available.   
The meaning of the bits is explained in [CURL.SetOptionHTTPAuth](CURLSetOptionHTTPAuth.md).  
### See also

- [CURL.GetProxyAuthAvail](CURLGetProxyAuthAvail.md)
- [CURL.SetOptionHTTPAuth](CURLSetOptionHTTPAuth.md)

### Example Databases

- [CURL/CURL Download Picture](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Download%20Picture.shtml#1ScriptAnchor_)

This function checks for a license.

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

  
[CURL.GetFormData](CURLGetFormData.md) - [CURL.GetHTTPConnectCode](CURLGetHTTPConnectCode.md)

[HTML Version](CURLGetHTTPAuthAvail.shtml)