aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3
diff options
context:
space:
mode:
authorLinus Lewandowski <linus@lew21.net>2018-05-22 12:28:41 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-24 20:39:49 +0200
commit239a7061f83231f2bac362c6b817a5ae10bd6696 (patch)
tree835fe4e25177200a55e0585eff00f6f97bafc1cc /docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3
parent49fe65ccd81a2f27aae0e77e2714dc234de483c6 (diff)
httpauth: add support for Bearer tokens
Closes #2102
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.38
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3 b/docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3
index 262c63764..8f86ae9ee 100644
--- a/docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3
+++ b/docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3
@@ -29,11 +29,11 @@ CURLOPT_XOAUTH2_BEARER \- specify OAuth 2.0 access token
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_XOAUTH2_BEARER, char *token);
.SH DESCRIPTION
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
-the OAuth 2.0 Authorization Framework.
+2.0 Bearer Access Token for use with HTTP, IMAP, POP3 and SMTP servers
+that support the OAuth 2.0 Authorization Framework.
-Note: The user name used to generate the Bearer Token should be supplied via
-the \fICURLOPT_USERNAME(3)\fP option.
+Note: For IMAP, POP3 and SMTP, the user name used to generate the Bearer Token
+should be supplied via the \fICURLOPT_USERNAME(3)\fP option.
The application does not have to keep the string around after setting this
option.