mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
curl.1: Add usage of '--bearer' option
This commit is contained in:
parent
75b52f9dcc
commit
7e489c42f7
@ -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
|
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
|
rewind. If the need should arise when uploading from stdin, the upload
|
||||||
operation will fail.
|
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>"
|
.IP "-b, --cookie <name=data>"
|
||||||
(HTTP)
|
(HTTP)
|
||||||
Pass the data to the HTTP server as a cookie. It is supposedly the
|
Pass the data to the HTTP server as a cookie. It is supposedly the
|
||||||
|
Loading…
Reference in New Issue
Block a user