mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
15 lines
477 B
Makefile
15 lines
477 B
Makefile
Long: oauth2-bearer
|
|
Help: OAuth 2 Bearer Token
|
|
Arg: <token>
|
|
Protocols: IMAP POP3 SMTP HTTP
|
|
Category: auth
|
|
Example: --oauth2-bearer "mF_9.B5f-4.1JqM" $URL
|
|
---
|
|
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.
|
|
|
|
If this option is used several times, the last one will be used.
|