mirror of
https://github.com/curl/curl.git
synced 2025-02-05 14:30:10 +08:00
ef305de95c
The keyword specifies how option works when specified multiple times: - single: the last provided value replaces the earlier ones - append: it supports being provided multiple times - boolean: on/off values - mutex: flag-like option that disable anoter flag The 'gen.pl' script then outputs the proper and unified language for each option's multi-use behavior in the generated man page. The multi: header is requires in each .d file and will cause build error if missing or set to an unknown value. Closes #9759
18 lines
574 B
Makefile
18 lines
574 B
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: oauth2-bearer
|
|
Help: OAuth 2 Bearer Token
|
|
Arg: <token>
|
|
Protocols: IMAP LDAP POP3 SMTP HTTP
|
|
Category: auth
|
|
Example: --oauth2-bearer "mF_9.B5f-4.1JqM" $URL
|
|
Added: 7.33.0
|
|
See-also: basic ntlm digest
|
|
Multi: single
|
|
---
|
|
Specify the Bearer Token for OAUTH 2.0 server authentication. The Bearer Token
|
|
is used in conjunction with the user name which can be specified as part of
|
|
the --url or --user options.
|
|
|
|
The Bearer Token and user name are formatted according to RFC 6750.
|