Home
last modified time | relevance | path

Searched refs:mech (Results 1 – 11 of 11) sorted by relevance

/curl/lib/
H A Dcurl_sasl.h100 CURLcode (*sendauth)(struct Curl_easy *data, const char *mech,
103 CURLcode (*contauth)(struct Curl_easy *data, const char *mech,
106 CURLcode (*cancelauth)(struct Curl_easy *data, const char *mech);
134 #define sasl_mech_equal(line, wordlen, mech) \ argument
135 (wordlen == (sizeof(mech) - 1) / sizeof(char) && \
136 !memcmp(line, mech, wordlen))
H A Dkrb5.c552 nread = conn->mech->decode(conn->app_data, in read_data()
715 if(!conn->mech) in Curl_sec_read_msg()
841 mech = NULL; in choose_mech()
846 if(mech->init) { in choose_mech()
847 ret = mech->init(conn->app_data); in choose_mech()
850 mech->name); in choose_mech()
869 "ftp code: 534).", mech->name); in choose_mech()
891 conn->mech = mech; in choose_mech()
916 if(conn->mech && conn->mech->end) in Curl_sec_end()
917 conn->mech->end(conn->app_data); in Curl_sec_end()
[all …]
H A Dcurl_sasl.c349 const char *mech = NULL; in Curl_sasl_start() local
374 mech = SASL_MECH_STRING_EXTERNAL; in Curl_sasl_start()
386 mech = SASL_MECH_STRING_GSSAPI; in Curl_sasl_start()
434 mech = SASL_MECH_STRING_DIGEST_MD5; in Curl_sasl_start()
439 mech = SASL_MECH_STRING_CRAM_MD5; in Curl_sasl_start()
447 mech = SASL_MECH_STRING_NTLM; in Curl_sasl_start()
475 mech = SASL_MECH_STRING_XOAUTH2; in Curl_sasl_start()
485 mech = SASL_MECH_STRING_PLAIN; in Curl_sasl_start()
495 mech = SASL_MECH_STRING_LOGIN; in Curl_sasl_start()
505 if(!result && mech) { in Curl_sasl_start()
[all …]
H A Dopenldap.c106 static CURLcode oldap_perform_auth(struct Curl_easy *data, const char *mech,
108 static CURLcode oldap_continue_auth(struct Curl_easy *data, const char *mech,
110 static CURLcode oldap_cancel_auth(struct Curl_easy *data, const char *mech);
346 static CURLcode oldap_perform_auth(struct Curl_easy *data, const char *mech, in oldap_perform_auth() argument
359 rc = ldap_sasl_bind(li->ld, NULL, mech, pcred, NULL, NULL, &li->msgid); in oldap_perform_auth()
368 static CURLcode oldap_continue_auth(struct Curl_easy *data, const char *mech, in oldap_continue_auth() argument
381 rc = ldap_sasl_bind(li->ld, NULL, mech, pcred, NULL, NULL, &li->msgid); in oldap_continue_auth()
390 static CURLcode oldap_cancel_auth(struct Curl_easy *data, const char *mech) in oldap_cancel_auth() argument
396 (void)mech; in oldap_cancel_auth()
624 unsigned short mech = Curl_sasl_decode_mech((char *) bvals[i].bv_val, in oldap_state_mechs_resp() local
[all …]
H A Dpop3.c107 static CURLcode pop3_perform_auth(struct Curl_easy *data, const char *mech,
109 static CURLcode pop3_continue_auth(struct Curl_easy *data, const char *mech,
111 static CURLcode pop3_cancel_auth(struct Curl_easy *data, const char *mech);
541 const char *mech, in pop3_perform_auth() argument
550 result = Curl_pp_sendf(data, &pop3c->pp, "AUTH %s %s", mech, ir); in pop3_perform_auth()
554 result = Curl_pp_sendf(data, &pop3c->pp, "AUTH %s", mech); in pop3_perform_auth()
567 const char *mech, in pop3_continue_auth() argument
572 (void)mech; in pop3_continue_auth()
584 static CURLcode pop3_cancel_auth(struct Curl_easy *data, const char *mech) in pop3_cancel_auth() argument
588 (void)mech; in pop3_cancel_auth()
H A Dsmtp.c108 static CURLcode smtp_perform_auth(struct Curl_easy *data, const char *mech,
110 static CURLcode smtp_continue_auth(struct Curl_easy *data, const char *mech,
112 static CURLcode smtp_cancel_auth(struct Curl_easy *data, const char *mech);
432 const char *mech, in smtp_perform_auth() argument
441 result = Curl_pp_sendf(data, &smtpc->pp, "AUTH %s %s", mech, ir); in smtp_perform_auth()
445 result = Curl_pp_sendf(data, &smtpc->pp, "AUTH %s", mech); in smtp_perform_auth()
458 const char *mech, in smtp_continue_auth() argument
463 (void)mech; in smtp_continue_auth()
475 static CURLcode smtp_cancel_auth(struct Curl_easy *data, const char *mech) in smtp_cancel_auth() argument
479 (void)mech; in smtp_cancel_auth()
H A Dimap.c106 const char *mech,
109 const char *mech,
112 const char *mech);
547 const char *mech, in imap_perform_authenticate() argument
555 result = imap_sendf(data, "AUTHENTICATE %s %s", mech, ir); in imap_perform_authenticate()
559 result = imap_sendf(data, "AUTHENTICATE %s", mech); in imap_perform_authenticate()
572 const char *mech, in imap_continue_authenticate() argument
577 (void)mech; in imap_continue_authenticate()
590 const char *mech) in imap_cancel_authenticate() argument
594 (void)mech; in imap_cancel_authenticate()
H A Durldata.h885 const struct Curl_sec_client_mech *mech; member
/curl/lib/vauth/
H A Dgsasl.c45 const char *mech, in Curl_auth_gsasl_is_supported() argument
56 res = gsasl_client_start(gsasl->ctx, mech, &gsasl->client); in Curl_auth_gsasl_is_supported()
H A Dvauth.h125 const char *mech,
/curl/docs/
H A DTODO633 using ;auth=<mech> in the login part of the URL.

Completed in 40 milliseconds