diff options
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_HTTPAUTH.3 | 4 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.3 | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HTTPAUTH.3 b/docs/libcurl/opts/CURLOPT_HTTPAUTH.3 index 09a9f996a..7bb45506e 100644 --- a/docs/libcurl/opts/CURLOPT_HTTPAUTH.3 +++ b/docs/libcurl/opts/CURLOPT_HTTPAUTH.3 @@ -56,6 +56,10 @@ defined in RFC2617 and is a more secure way to do authentication over public networks than the regular old-fashioned Basic method. The IE flavor is simply that libcurl will use a special "quirk" that IE is known to have used before version 7 and that some servers require the client to use. +.IP CURLAUTH_BEARER +HTTP Bearer token authentication, used primarily in OAuth 2.0 protocol. + +You can set the Bearer token to use with \fICURLOPT_XOAUTH2_BEARER(3)\fP. .IP CURLAUTH_NEGOTIATE HTTP Negotiate (SPNEGO) authentication. Negotiate authentication is defined in RFC 4559 and is the most secure way to perform authentication over HTTP. 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. |