]> granicus.if.org Git - curl/commitdiff
curl.1: Add usage of '--bearer' option
authorKyle L. Huff <kyle.huff@curetheitch.com>
Fri, 30 Aug 2013 12:47:04 +0000 (08:47 -0400)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 30 Aug 2013 20:34:20 +0000 (21:34 +0100)
docs/curl.1

index 9e1a6883b37a054089b8d06c83fe040a8a26288e..b54bdbc1a8d47a9314944c9227feecc2afbfce4f 100644 (file)
@@ -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