/curl/lib/ |
H A D | noproxy.c | 175 const char *token; in Curl_check_noproxy() local 183 token = p; in Curl_check_noproxy() 194 if(token[tokenlen - 1] == '.') in Curl_check_noproxy() 197 if(tokenlen && (*token == '.')) { in Curl_check_noproxy() 199 token++; in Curl_check_noproxy() 208 match = strncasecompare(token, name, namelen); in Curl_check_noproxy() 212 strncasecompare(token, name + (namelen - tokenlen), in Curl_check_noproxy() 219 const char *check = token; in Curl_check_noproxy()
|
H A D | curl_trc.c | 361 char *token, *tok_buf, *tmp; in trc_opt() local 368 token = Curl_strtok_r(tmp, ", ", &tok_buf); in trc_opt() 369 while(token) { in trc_opt() 370 switch(*token) { in trc_opt() 373 ++token; in trc_opt() 377 ++token; in trc_opt() 383 if(strcasecompare(token, "all")) in trc_opt() 385 else if(strcasecompare(token, "protocol")) in trc_opt() 387 else if(strcasecompare(token, "network")) in trc_opt() 389 else if(strcasecompare(token, "proxy")) in trc_opt() [all …]
|
H A D | netrc.c | 115 struct dynbuf token; in parsenetrc() local 118 Curl_dyn_init(&token, MAX_NETRC_TOKEN); in parsenetrc() 133 Curl_dyn_reset(&token); in parsenetrc() 156 if(!len || Curl_dyn_addn(&token, tok, len)) { in parsenetrc() 191 if(Curl_dyn_addn(&token, &s, 1)) { in parsenetrc() 204 tok = Curl_dyn_ptr(&token); in parsenetrc() 311 Curl_dyn_free(&token); in parsenetrc()
|
H A D | setopt.c | 192 const char *token = str; in protocol2num() local 196 tlen = str ? (size_t) (str - token) : strlen(token); in protocol2num() 198 const struct Curl_handler *h = Curl_getn_scheme_handler(token, tlen); in protocol2num()
|
/curl/lib/vauth/ |
H A D | digest.c | 223 char *token; in auth_digest_get_qop_values() local 235 token = Curl_strtok_r(tmp, ",", &tok_buf); in auth_digest_get_qop_values() 236 while(token) { in auth_digest_get_qop_values() 237 if(strcasecompare(token, DIGEST_QOP_VALUE_STRING_AUTH)) in auth_digest_get_qop_values() 244 token = Curl_strtok_r(NULL, ",", &tok_buf); in auth_digest_get_qop_values() 509 char *token = NULL; in Curl_auth_decode_digest_http_message() local 561 token = Curl_strtok_r(tmp, ",", &tok_buf); in Curl_auth_decode_digest_http_message() 562 while(token) { in Curl_auth_decode_digest_http_message() 564 while(*token && ISBLANK(*token)) in Curl_auth_decode_digest_http_message() 565 token++; in Curl_auth_decode_digest_http_message() [all …]
|
/curl/tests/libtest/ |
H A D | stub_gssapi.c | 96 char *token = NULL; in gss_init_sec_context() local 212 token = malloc(length); in gss_init_sec_context() 213 if(!token) { in gss_init_sec_context() 222 used = (size_t) snprintf(token, length, "%s:%s:%d:", creds, in gss_init_sec_context() 226 free(token); in gss_init_sec_context() 233 memset(token + used, 'A', length - used); in gss_init_sec_context() 237 output_token->value = token; in gss_init_sec_context()
|
/curl/src/ |
H A D | tool_paramhlp.c | 368 char *token; in proto2num() local 400 for(token = strtok(buffer, sep); in proto2num() 401 token; in proto2num() 402 token = strtok(NULL, sep)) { in proto2num() 406 while(!ISALNUM(*token)) { /* may be NULL if token is all modifiers */ in proto2num() 407 switch(*token++) { in proto2num() 424 if(curl_strequal(token, "all")) { in proto2num() 437 const char *p = proto_token(token); in proto2num() 456 warnf(config->global, "unrecognized protocol '%s'", token); in proto2num()
|
H A D | tool_getparam.c | 689 char *token, *tmp, *name; in set_trace_config() local 698 token = strtok(tmp, ", "); in set_trace_config() 699 while(token) { in set_trace_config() 700 switch(*token) { in set_trace_config() 703 name = token + 1; in set_trace_config() 707 name = token + 1; in set_trace_config() 711 name = token; in set_trace_config() 718 result = curl_global_trace(token); in set_trace_config() 729 result = curl_global_trace(token); in set_trace_config() 733 token = strtok(NULL, ", "); in set_trace_config()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_XOAUTH2_BEARER.md | 21 CURLOPT_XOAUTH2_BEARER - OAuth 2.0 access token 28 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_XOAUTH2_BEARER, char *token);
|
H A D | CURLOPT_NETRC.md | 87 file for a machine token that matches the hostname specified in the URL. Once 94 can be only one default token, and it must be after all machine tokens. To 106 Supply a password. If this token is present, curl supplies the specified 108 Note that if this token is present in the .netrc file you really should make
|
H A D | CURLOPT_HTTPAUTH.md | 65 HTTP Bearer token authentication, used primarily in OAuth 2.0 protocol. 67 You can set the Bearer token to use with CURLOPT_XOAUTH2_BEARER(3).
|
/curl/.github/workflows/ |
H A D | label.yml | 26 repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
/curl/docs/cmdline-opts/ |
H A D | oauth2-bearer.md | 6 Arg: <token>
|
/curl/CMake/ |
H A D | PickyWarnings.cmake | 35 …list(APPEND _picky "-Wno-language-extension-token") # Override default error to make __int64 size… 140 -Wlanguage-extension-token # clang 3.0 # Avoid for clang-cl to allow __int64
|
/curl/lib/vquic/ |
H A D | curl_ngtcp2.c | 697 uint8_t *token, size_t cidlen, in cb_get_new_connection_id() argument 709 result = Curl_rand(NULL, token, NGTCP2_STATELESS_RESET_TOKENLEN); in cb_get_new_connection_id() 1007 int32_t token, nghttp3_rcbuf *name, in cb_h3_recv_header() argument 1021 (void)token; in cb_h3_recv_header() 1029 if(token == NGHTTP3_QPACK_TOKEN__STATUS) { in cb_h3_recv_header()
|
H A D | curl_osslq.c | 843 int32_t token, nghttp3_rcbuf *name, in cb_h3_recv_header() argument 857 (void)token; in cb_h3_recv_header() 865 if(token == NGHTTP3_QPACK_TOKEN__STATUS) { in cb_h3_recv_header()
|
/curl/docs/libcurl/ |
H A D | curl_easy_setopt.md | 1328 OAuth2 bearer token. See CURLOPT_XOAUTH2_BEARER(3)
|
/curl/m4/ |
H A D | curl-compilers.m4 | 854 CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [language-extension-token])
|