xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: oauth2-bearer |
| 4 | Help: OAuth 2 Bearer Token |
| 5 | Arg: <token> |
| 6 | Protocols: IMAP LDAP POP3 SMTP HTTP |
| 7 | Category: auth |
| 8 | Example: --oauth2-bearer "mF_9.B5f-4.1JqM" $URL |
| 9 | Added: 7.33.0 |
| 10 | See-also: basic ntlm digest |
| 11 | Multi: single |
| 12 | --- |
| 13 | Specify the Bearer Token for OAUTH 2.0 server authentication. The Bearer Token |
| 14 | is used in conjunction with the user name which can be specified as part of |
| 15 | the --url or --user options. |
| 16 | |
| 17 | The Bearer Token and user name are formatted according to RFC 6750. |