2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 21:20:36 +08:00
|
|
|
Long: oauth2-bearer
|
|
|
|
Help: OAuth 2 Bearer Token
|
2017-05-17 16:55:12 +08:00
|
|
|
Arg: <token>
|
2022-01-10 18:57:02 +08:00
|
|
|
Protocols: IMAP LDAP POP3 SMTP HTTP
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: auth
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --oauth2-bearer "mF_9.B5f-4.1JqM" $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.33.0
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: basic ntlm digest
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: single
|
2016-11-16 21:20:36 +08:00
|
|
|
---
|
|
|
|
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.
|