aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKyle L. Huff <kyle.huff@curetheitch.com>2013-08-30 08:47:04 -0400
committerSteve Holme <steve_holme@hotmail.com>2013-08-30 21:34:20 +0100
commit7e489c42f79b263a63d6e121219427aee339bc35 (patch)
treeabee46dab406757bcc7c00613ddc4c56054cab51 /docs
parent75b52f9dcc19f9e001d56b95a67ef461ec9c15d5 (diff)
curl.1: Add usage of '--bearer' option
Diffstat (limited to 'docs')
-rw-r--r--docs/curl.18
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 9e1a6883b..b54bdbc1a 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -155,6 +155,14 @@ Note that using --anyauth is not recommended if you do uploads from stdin,
since it may require data to be sent twice and then the client must be able to
rewind. If the need should arise when uploading from stdin, the upload
operation will fail.
+.IP "--bearer"
+(IMAP/SMTP) Specify the Bearer Token for OAUTH 2.0 server authentication. The
+Bearer Token is used in conjuction with the user name which can be specified
+as part of the \fI--url\fP option or the \fI-u, --user\fP option.
+
+The Bearer Token and user name are formatted according to RFC 6750.
+
+If this option is used several times, the last one will be used.
.IP "-b, --cookie <name=data>"
(HTTP)
Pass the data to the HTTP server as a cookie. It is supposedly the