Home
last modified time | relevance | path

Searched refs:token (Results 1 – 18 of 18) sorted by relevance

/curl/lib/
H A Dnoproxy.c175 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 Dcurl_trc.c361 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 Dnetrc.c115 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 Dsetopt.c192 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 Ddigest.c223 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 Dstub_gssapi.c96 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 Dtool_paramhlp.c368 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 Dtool_getparam.c689 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 DCURLOPT_XOAUTH2_BEARER.md21 CURLOPT_XOAUTH2_BEARER - OAuth 2.0 access token
28 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_XOAUTH2_BEARER, char *token);
H A DCURLOPT_NETRC.md87 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 DCURLOPT_HTTPAUTH.md65 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 Dlabel.yml26 repo-token: "${{ secrets.GITHUB_TOKEN }}"
/curl/docs/cmdline-opts/
H A Doauth2-bearer.md6 Arg: <token>
/curl/CMake/
H A DPickyWarnings.cmake35 …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 Dcurl_ngtcp2.c697 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 Dcurl_osslq.c843 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 Dcurl_easy_setopt.md1328 OAuth2 bearer token. See CURLOPT_XOAUTH2_BEARER(3)
/curl/m4/
H A Dcurl-compilers.m4854 CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [language-extension-token])

Completed in 44 milliseconds