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