2023-01-02 15:51:48 +03:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 01:12:03 +03:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 16:20:36 +03:00
|
|
|
Long: negotiate
|
|
|
|
Help: Use HTTP Negotiate (SPNEGO) authentication
|
|
|
|
Protocols: HTTP
|
|
|
|
See-also: basic ntlm anyauth proxy-negotiate
|
2020-07-13 15:15:04 +03:00
|
|
|
Category: auth http
|
2021-08-31 17:37:14 +03:00
|
|
|
Example: --negotiate -u : $URL
|
2021-09-28 12:50:07 +03:00
|
|
|
Added: 7.10.6
|
2022-10-18 11:39:43 +03:00
|
|
|
Multi: mutex
|
2016-11-16 16:20:36 +03: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 18:34:44 +03:00
|
|
|
and password from the --user option are not actually used.
|
2016-11-16 16:20:36 +03:00
|
|
|
|
|
|
|
If this option is used several times, only the first one is used.
|