mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:17:20 +03:00
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:
parent
f54a4aa9a3
commit
4e3d396900
4 changed files with 4 additions and 4 deletions
|
|
@ -208,7 +208,7 @@ struct OperationConfig {
|
|||
#ifdef CURLDEBUG
|
||||
bool test_event_based;
|
||||
#endif
|
||||
char *xoauth2_bearer; /* XOAUTH2 bearer token */
|
||||
char *xoauth2_bearer; /* OAuth 2.0 bearer token */
|
||||
bool nonpn; /* enable/disable TLS NPN extension */
|
||||
bool noalpn; /* enable/disable TLS ALPN extension */
|
||||
char *unix_socket_path; /* path to Unix domain socket */
|
||||
|
|
|
|||
|
|
@ -495,7 +495,7 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
case 'b': /* egd-file */
|
||||
GetStr(&config->egd_file, nextarg);
|
||||
break;
|
||||
case 'B': /* XOAUTH2 Bearer */
|
||||
case 'B': /* OAuth 2.0 bearer token */
|
||||
GetStr(&config->xoauth2_bearer, nextarg);
|
||||
break;
|
||||
case 'c': /* connect-timeout */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue