oauth2: Use OAuth 2.0 rather than XOAUTH2 in comments

When referring to OAuth 2.0 we should use the official name rather the
SASL mechanism name.
This commit is contained in:
Steve Holme 2015-09-04 06:56:26 +01:00
parent f54a4aa9a3
commit 4e3d396900
4 changed files with 4 additions and 4 deletions

View file

@ -1700,7 +1700,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
case CURLOPT_XOAUTH2_BEARER:
/*
* XOAUTH2 bearer token to use in the operation
* OAuth 2.0 bearer token to use in the operation
*/
result = setstropt(&data->set.str[STRING_BEARER],
va_arg(param, char *));

View file

@ -915,7 +915,7 @@ struct connectdata {
char *passwd; /* password string, allocated */
char *options; /* options string, allocated */
char *xoauth2_bearer; /* bearer token for xoauth2, allocated */
char *xoauth2_bearer; /* bearer token for OAuth 2.0, allocated */
char *proxyuser; /* proxy user name string, allocated */
char *proxypasswd; /* proxy password string, allocated */