Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/curl/lib/vauth/
H A Dvauth.c129 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 Doauth2.c60 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 Dvauth.h73 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 Dntlm.c492 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 Dlib586.c45 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 Dlib506.c49 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 Dcurl_sspi.c147 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 Dcurl_sasl.c328 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 Dtest83615 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 Dtest88238 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/%TESTNUMBER0…
47 USER user.one
52 USER user.two
H A Dtest13622 FTP with user and no password
25 -u user: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
35 USER user
H A Dtest81530 …TNUMBER -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -X C…
39 A002 LOGIN user secret
H A Dtest81633 …NUMBER -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -X EX…
42 A002 LOGIN user secret
H A Dtest68530 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 Dtest88720 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 Dtest68758 user.creator => curl
59 user.mime_type => fake/data
60 user.xdg.origin.url => http://%HOSTIP:%HTTPPORT/%TESTNUMBER
H A Dtest68858 user.creator => curl
59 user.mime_type => fake/data
60 user.xdg.origin.url => http://%HOSTIP:%HTTPPORT/%TESTNUMBER
H A Dtest62816 SFTP invalid user login (password authentication)
19 -u not-a-valid-user: sftp://%HOSTIP:%SSHPORT%SSH_PWD/irrelevant-file --insecure
H A Dtest62916 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 Dftp-alternative-to-user.md4 Long: ftp-alternative-to-user
13 - user
15 - --ftp-alternative-to-user "U53r" ftp://example.com
18 # `--ftp-alternative-to-user`
H A Dproxy-user.md4 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 Duser.md4 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 Dproxy-ntlm.md12 - proxy-user
14 - --proxy-ntlm --proxy-user user:passwd -x http://proxy $URL
H A Dsasl-authzid.md20 specified by --user.
24 may be used to access another user's inbox, that the user has been granted
/curl/packages/vms/
H A Dgnv_link_curl.com473 $ 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 …]

Completed in 25 milliseconds

12345678910>>...18