blob: 727f8982668f507541897489adb84be7744491fd [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: negotiate
4Help: Use HTTP Negotiate (SPNEGO) authentication
5Protocols: HTTP
6See-also: basic ntlm anyauth proxy-negotiate
7Category: auth http
8Example: --negotiate -u : $URL
9Added: 7.10.6
10Multi: mutex
11---
12Enables Negotiate (SPNEGO) authentication.
13
14This 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
17When using this option, you must also provide a fake --user option to activate
18the authentication code properly. Sending a '-u :' is enough as the user name
19and password from the --user option are not actually used.
20
21If this option is used several times, only the first one is used.