/curl/lib/vauth/ |
H A D | vauth.c | 129 bool Curl_auth_user_contains_domain(const char *user) in Curl_auth_user_contains_domain() argument 133 if(user && *user) { in Curl_auth_user_contains_domain() 135 char *p = strpbrk(user, "\\/@"); in Curl_auth_user_contains_domain() 137 valid = (p != NULL && p > user && p < user + strlen(user) - 1); in Curl_auth_user_contains_domain()
|
H A D | oauth2.c | 60 CURLcode Curl_auth_create_oauth_bearer_message(const char *user, in Curl_auth_create_oauth_bearer_message() argument 70 oauth = aprintf("n,a=%s,\1host=%s\1auth=Bearer %s\1\1", user, host, in Curl_auth_create_oauth_bearer_message() 73 oauth = aprintf("n,a=%s,\1host=%s\1port=%ld\1auth=Bearer %s\1\1", user, in Curl_auth_create_oauth_bearer_message() 96 CURLcode Curl_auth_create_xoauth_bearer_message(const char *user, in Curl_auth_create_xoauth_bearer_message() argument 101 char *xoauth = aprintf("user=%s\1auth=Bearer %s\1\1", user, bearer); in Curl_auth_create_xoauth_bearer_message()
|
H A D | vauth.h | 73 bool Curl_auth_user_contains_domain(const char *user); 85 void Curl_auth_create_external_message(const char *user, struct bufref *out); 173 CURLcode Curl_auth_create_oauth_bearer_message(const char *user, 180 CURLcode Curl_auth_create_xoauth_bearer_message(const char *user, 219 const char *user,
|
H A D | ntlm.c | 492 const char *user; in Curl_auth_create_ntlm_type3_message() local 503 user = strchr(userp, '\\'); in Curl_auth_create_ntlm_type3_message() 504 if(!user) in Curl_auth_create_ntlm_type3_message() 505 user = strchr(userp, '/'); in Curl_auth_create_ntlm_type3_message() 507 if(user) { in Curl_auth_create_ntlm_type3_message() 509 domlen = (user - domain); in Curl_auth_create_ntlm_type3_message() 510 user++; in Curl_auth_create_ntlm_type3_message() 513 user = userp; in Curl_auth_create_ntlm_type3_message() 515 userlen = strlen(user); in Curl_auth_create_ntlm_type3_message() 723 unicodecpy(&ntlmbuf[size], user, userlen / 2); in Curl_auth_create_ntlm_type3_message() [all …]
|
/curl/tests/libtest/ |
H A D | lib586.c | 45 struct userdata *user = (struct userdata *)useptr; in test_lock() local 67 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_lock() 68 user->counter++; in test_lock() 75 struct userdata *user = (struct userdata *)useptr; in test_unlock() local 94 printf("unlock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_unlock() 95 user->counter++; in test_unlock() 141 struct userdata user; in test() local 143 user.text = "Pigs in space"; in test() 144 user.counter = 0; in test() 171 scode = curl_share_setopt(share, CURLSHOPT_USERDATA, &user); in test()
|
H A D | lib506.c | 49 struct userdata *user = (struct userdata *)useptr; in test_lock() local 80 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_lock() 81 user->counter++; in test_lock() 88 struct userdata *user = (struct userdata *)useptr; in test_unlock() local 116 printf("unlock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_unlock() 117 user->counter++; in test_unlock() 188 struct userdata user; in test() local 190 user.text = "Pigs in space"; in test() 191 user.counter = 0; in test() 218 scode = curl_share_setopt(share, CURLSHOPT_USERDATA, &user); in test()
|
/curl/lib/ |
H A D | curl_sspi.c | 147 xcharp_u user, dup_user; in Curl_create_sspi_identity() local 161 user.const_tchar_ptr = _tcschr(useranddomain.const_tchar_ptr, TEXT('\\')); in Curl_create_sspi_identity() 162 if(!user.const_tchar_ptr) in Curl_create_sspi_identity() 163 user.const_tchar_ptr = _tcschr(useranddomain.const_tchar_ptr, TEXT('/')); in Curl_create_sspi_identity() 165 if(user.tchar_ptr) { in Curl_create_sspi_identity() 167 domlen = user.tchar_ptr - useranddomain.tchar_ptr; in Curl_create_sspi_identity() 168 user.tchar_ptr++; in Curl_create_sspi_identity() 171 user.tchar_ptr = useranddomain.tchar_ptr; in Curl_create_sspi_identity() 177 dup_user.tchar_ptr = _tcsdup(user.tchar_ptr); in Curl_create_sspi_identity()
|
H A D | curl_sasl.c | 328 if(data->state.aptr.user) in Curl_sasl_can_authenticate() 379 Curl_auth_create_external_message(conn->user, &resp); in Curl_sasl_start() 381 else if(data->state.aptr.user) { in Curl_sasl_start() 384 Curl_auth_user_contains_domain(conn->user)) { in Curl_sasl_start() 411 result = Curl_auth_gsasl_start(data, conn->user, in Curl_sasl_start() 424 result = Curl_auth_gsasl_start(data, conn->user, in Curl_sasl_start() 501 Curl_auth_create_login_message(conn->user, &resp); in Curl_sasl_start() 579 Curl_auth_create_login_message(conn->user, &resp); in Curl_sasl_continue() 586 Curl_auth_create_external_message(conn->user, &resp); in Curl_sasl_continue() 689 result = Curl_auth_create_oauth_bearer_message(conn->user, in Curl_sasl_continue() [all …]
|
/curl/tests/data/ |
H A D | test836 | 15 REPLY "LOGIN user.one secret" A002 OK LOGIN completed 16 REPLY "LOGIN user.two secret" B002 OK LOGIN completed 39 …:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user.one:secret -: 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;… 48 A002 LOGIN user.one secret 53 B002 LOGIN user.two secret
|
H A D | test882 | 38 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/%TESTNUMBER0… 47 USER user.one 52 USER user.two
|
H A D | test136 | 22 FTP with user and no password 25 -u user: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER 35 USER user
|
H A D | test815 | 30 …TNUMBER -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -X C… 39 A002 LOGIN user secret
|
H A D | test816 | 33 …NUMBER -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -X EX… 42 A002 LOGIN user secret
|
H A D | test685 | 30 netrc with no login - provided user 33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user@%HOSTIP:%HTTPPORT/ 47 Authorization: Basic %b64[user:5up3r53cr37]b64%
|
H A D | test887 | 20 REPLY %b64[n,a=user,%01host=127.0.0.1%01port=%POP3PORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64% +OK… 43 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM 53 %b64[n,a=user,%01host=127.0.0.1%01port=%POP3PORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%
|
H A D | test687 | 58 user.creator => curl 59 user.mime_type => fake/data 60 user.xdg.origin.url => http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
H A D | test688 | 58 user.creator => curl 59 user.mime_type => fake/data 60 user.xdg.origin.url => http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
H A D | test628 | 16 SFTP invalid user login (password authentication) 19 -u not-a-valid-user: sftp://%HOSTIP:%SSHPORT%SSH_PWD/irrelevant-file --insecure
|
H A D | test629 | 16 SCP invalid user login (password authentication) 19 -u not-a-valid-user: scp://%HOSTIP:%SSHPORT%SSH_PWD/irrelevant-file --insecure
|
/curl/docs/cmdline-opts/ |
H A D | ftp-alternative-to-user.md | 4 Long: ftp-alternative-to-user 13 - user 15 - --ftp-alternative-to-user "U53r" ftp://example.com 18 # `--ftp-alternative-to-user`
|
H A D | proxy-user.md | 4 Long: proxy-user 6 Arg: <user:password> 7 Help: Proxy user and password 14 - --proxy-user smith:secret -x proxy $URL 17 # `--proxy-user`
|
H A D | user.md | 4 Long: user 6 Arg: <user:password> 7 Help: Server user and password 15 - -u user:secret $URL 18 # `--user` 44 Principal Name) formats. For example, EXAMPLE\user and user@example.com
|
H A D | proxy-ntlm.md | 12 - proxy-user 14 - --proxy-ntlm --proxy-user user:passwd -x http://proxy $URL
|
H A D | sasl-authzid.md | 20 specified by --user. 24 may be used to access another user's inbox, that the user has been granted
|
/curl/packages/vms/ |
H A D | gnv_link_curl.com | 473 $ define/user gnv$libcurl 'gnv_libcurl_share' 486 $ define/user gnv$libcurl 'gnv_libcurl_share' 499 $ define/user gnv$libcurl 'gnv_libcurl_share' 512 $ define/user gnv$libcurl 'gnv_libcurl_share' 525 $ define/user gnv$libcurl 'gnv_libcurl_share' 538 $ define/user gnv$libcurl 'gnv_libcurl_share' 551 $ define/user gnv$libcurl 'gnv_libcurl_share' 564 $ define/user gnv$libcurl 'gnv_libcurl_share' 577 $ define/user gnv$libcurl 'gnv_libcurl_share' 590 $ define/user gnv$libcurl 'gnv_libcurl_share' [all …]
|