mirror of
https://github.com/curl/curl.git
synced 2025-03-07 15:27:17 +08:00
- switch all invidual files documenting command line options into .md, as the documentation is now markdown-looking. - made the parser treat 4-space indents as quotes - switch to building the curl.1 manpage using the "mainpage.idx" file, which lists the files to include to generate it, instead of using the previous page-footer/headers. Also, those files are now also .md ones, using the same format. I gave them underscore prefixes to make them sort separately: _NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md, _VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md, _OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md, _EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md - updated test cases accordingly Closes #12751
26 lines
603 B
Markdown
26 lines
603 B
Markdown
---
|
|
c: Copyright (C) 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
|
|
Added: 7.33.0
|
|
Multi: single
|
|
See-also:
|
|
- basic
|
|
- ntlm
|
|
- digest
|
|
Example:
|
|
- --oauth2-bearer "mF_9.B5f-4.1JqM" $URL
|
|
---
|
|
|
|
# `--oauth2-bearer`
|
|
|
|
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.
|