| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. | 
|  | 2 | SPDX-License-Identifier: curl | 
|  | 3 | Long: negotiate | 
|  | 4 | Help: Use HTTP Negotiate (SPNEGO) authentication | 
|  | 5 | Protocols: HTTP | 
|  | 6 | See-also: basic ntlm anyauth proxy-negotiate | 
|  | 7 | Category: auth http | 
|  | 8 | Example: --negotiate -u : $URL | 
|  | 9 | Added: 7.10.6 | 
|  | 10 | Multi: mutex | 
|  | 11 | --- | 
|  | 12 | Enables Negotiate (SPNEGO) authentication. | 
|  | 13 |  | 
|  | 14 | This option requires a library built with GSS-API or SSPI support. Use | 
|  | 15 | --version to see if your curl supports GSS-API/SSPI or SPNEGO. | 
|  | 16 |  | 
|  | 17 | When using this option, you must also provide a fake --user option to activate | 
|  | 18 | the authentication code properly. Sending a '-u :' is enough as the user name | 
|  | 19 | and password from the --user option are not actually used. | 
|  | 20 |  | 
|  | 21 | If this option is used several times, only the first one is used. |