curl/docs/cmdline-opts/negotiate.d

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 строки
759 B
D
Исходник Обычный вид История

c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
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
Category: auth http
Example: --negotiate -u : $URL
Added: 7.10.6
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
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.