oauth2-bearer.d 626 B

123456789101112131415161718
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, 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. ---
  12. Specify the Bearer Token for OAUTH 2.0 server authentication. The Bearer Token
  13. is used in conjunction with the user name which can be specified as part of
  14. the --url or --user options.
  15. The Bearer Token and user name are formatted according to RFC 6750.
  16. If this option is used several times, the last one will be used.