• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: oauth2-bearer
5Help: OAuth 2 Bearer Token
6Arg: <token>
7Protocols: IMAP LDAP POP3 SMTP HTTP
8Category: auth
9Added: 7.33.0
10Multi: single
11See-also:
12  - basic
13  - ntlm
14  - digest
15Example:
16  - --oauth2-bearer "mF_9.B5f-4.1JqM" $URL
17---
18
19# `--oauth2-bearer`
20
21Specify the Bearer Token for OAUTH 2.0 server authentication. The Bearer Token
22is used in conjunction with the user name which can be specified as part of
23the --url or --user options.
24
25The Bearer Token and user name are formatted according to RFC 6750.
26