master-server/deps/curl/docs/cmdline-opts/oauth2-bearer.md
2024-05-15 15:20:32 -04:00

601 B

c SPDX-License-Identifier Long Help Arg Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl oauth2-bearer OAuth 2 Bearer Token <token> IMAP LDAP POP3 SMTP HTTP auth 7.33.0 single
basic
ntlm
digest
--oauth2-bearer "mF_9.B5f-4.1JqM" $URL

--oauth2-bearer

Specify the Bearer Token for OAUTH 2.0 server authentication. The Bearer Token is used in conjunction with the username which can be specified as part of the --url or --user options.

The Bearer Token and username are formatted according to RFC 6750.