Enumeration CurlAuth

Object with bitmasks that should be used with the HTTPAUTH and PROXYAUTH options.

CURLAUTH_BASIC becomes CurlAuth.Basic

NOTE: The option Only (CURLAUTH_ONLY) cannot be safely used on bitwise operations, because it represents a integer larger than 32 bits, if you need to use it, you must do the bitwise operation without using the operators.

See following StackOverflow questions for more info: https://stackoverflow.com/q/39660274/710693 https://stackoverflow.com/q/3637702/710693

Enumeration Members

Any: -17
AnySafe: -18
AwsSigV4: 128
Basic: 1
Bearer: 64
Digest: 2
DigestIe: 16
GssApi: 4

Used for option SOCKS5_AUTH to stay terminologically correct

GssNegotiate: 4

Deprecated since the advent of Negotiate

Negotiate: 4
None: 0
Ntlm: 8
NtlmWb: 32
Only: 2147483648