xref: /aosp_15_r20/external/curl/docs/cmdline-opts/negotiate.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: negotiate
5*6236dae4SAndroid Build Coastguard WorkerHelp: Use HTTP Negotiate (SPNEGO) authentication
6*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTP
7*6236dae4SAndroid Build Coastguard WorkerCategory: auth http
8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.10.6
9*6236dae4SAndroid Build Coastguard WorkerMulti: mutex
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - basic
12*6236dae4SAndroid Build Coastguard Worker  - ntlm
13*6236dae4SAndroid Build Coastguard Worker  - anyauth
14*6236dae4SAndroid Build Coastguard Worker  - proxy-negotiate
15*6236dae4SAndroid Build Coastguard WorkerExample:
16*6236dae4SAndroid Build Coastguard Worker  - --negotiate -u : $URL
17*6236dae4SAndroid Build Coastguard Worker---
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Worker# `--negotiate`
20*6236dae4SAndroid Build Coastguard Worker
21*6236dae4SAndroid Build Coastguard WorkerEnable Negotiate (SPNEGO) authentication.
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard WorkerThis option requires a library built with GSS-API or SSPI support. Use
24*6236dae4SAndroid Build Coastguard Worker--version to see if your curl supports GSS-API/SSPI or SPNEGO.
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard WorkerWhen using this option, you must also provide a fake --user option to activate
27*6236dae4SAndroid Build Coastguard Workerthe authentication code properly. Sending a '-u :' is enough as the username
28*6236dae4SAndroid Build Coastguard Workerand password from the --user option are not actually used.
29