Imported Upstream version 7.59.0
[platform/upstream/curl.git] / docs / cmdline-opts / oauth2-bearer.d
1 Long: oauth2-bearer
2 Help: OAuth 2 Bearer Token
3 Arg: <token>
4 Protocols: IMAP POP3 SMTP
5 ---
6 Specify the Bearer Token for OAUTH 2.0 server authentication. The Bearer Token
7 is used in conjunction with the user name which can be specified as part of
8 the --url or --user options.
9
10 The Bearer Token and user name are formatted according to RFC 6750.
11
12 If this option is used several times, the last one will be used.