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