2022-06-14 06:12:03 +08:00
|
|
|
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 21:20:36 +08:00
|
|
|
Long: negotiate
|
|
|
|
Help: Use HTTP Negotiate (SPNEGO) authentication
|
|
|
|
Protocols: HTTP
|
|
|
|
See-also: basic ntlm anyauth proxy-negotiate
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: auth http
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --negotiate -u : $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.10.6
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: mutex
|
2016-11-16 21:20:36 +08:00
|
|
|
---
|
|
|
|
Enables Negotiate (SPNEGO) authentication.
|
|
|
|
|
|
|
|
This option requires a library built with GSS-API or SSPI support. Use
|
|
|
|
--version to see if your curl supports GSS-API/SSPI or SPNEGO.
|
|
|
|
|
|
|
|
When using this option, you must also provide a fake --user option to activate
|
|
|
|
the authentication code properly. Sending a '-u :' is enough as the user name
|
2021-10-31 23:34:44 +08:00
|
|
|
and password from the --user option are not actually used.
|
2016-11-16 21:20:36 +08:00
|
|
|
|
|
|
|
If this option is used several times, only the first one is used.
|