1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

curl_easy_setopt: Fixed OAuth 2.0 Bearer option name

Bug: http://curl.haxx.se/bug/view.cgi?id=1313
Reported-by: Viktor Szakáts
This commit is contained in:
Steve Holme 2013-12-19 22:40:56 +00:00
parent 0a898655e8
commit fae7db8a31

View File

@ -1317,10 +1317,10 @@ mechanisms and to the IMAP, POP3 and SMTP protocols. (Added in 7.31.0)
Note: Whilst IMAP supports this option there is no need to explicitly set it, Note: Whilst IMAP supports this option there is no need to explicitly set it,
as libcurl can determine the feature itself when the server supports the as libcurl can determine the feature itself when the server supports the
SASL-IR CAPABILITY. SASL-IR CAPABILITY.
.IP CURLOPT_BEARER .IP CURLOPT_XOAUTH2_BEARER
Pass a char * as parameter, which should point to the zero terminated OAUTH Pass a char * as parameter, which should point to the zero terminated OAuth
2.0 Bearer Access Token for use with IMAP. POP3 and SMTP servers that support 2.0 Bearer Access Token for use with IMAP, POP3 and SMTP servers that support
the OAUTH 2.0 Authorization Framework. (Added in 7.33.0) the OAuth 2.0 Authorization Framework. (Added in 7.33.0)
Note: The user name used to generate the Bearer Token should be supplied via Note: The user name used to generate the Bearer Token should be supplied via
the \fICURLOPT_USERNAME\fP option. the \fICURLOPT_USERNAME\fP option.