Home
last modified time | relevance | path

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

/third_party/curl/lib/
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))
Dkrb5.c532 nread = conn->mech->decode(conn->app_data, buf->data, len, in read_data()
612 bytes = conn->mech->encode(conn->app_data, from, length, prot_level, in do_sec_send()
689 if(!conn->mech) in Curl_sec_read_msg()
705 decoded_len = conn->mech->decode(conn->app_data, buf, decoded_len, in Curl_sec_read_msg()
807 const struct Curl_sec_client_mech *mech = &Curl_krb5_client_mech; in choose_mech() local
809 tmp_allocation = realloc(conn->app_data, mech->size); in choose_mech()
811 failf(data, "Failed realloc of size %zu", mech->size); in choose_mech()
812 mech = NULL; in choose_mech()
817 if(mech->init) { in choose_mech()
818 ret = mech->init(conn->app_data); in choose_mech()
[all …]
Dcurl_sasl.c341 const char *mech = NULL; in Curl_sasl_start() local
366 mech = SASL_MECH_STRING_EXTERNAL; in Curl_sasl_start()
378 mech = SASL_MECH_STRING_GSSAPI; in Curl_sasl_start()
398 mech = SASL_MECH_STRING_SCRAM_SHA_256; in Curl_sasl_start()
411 mech = SASL_MECH_STRING_SCRAM_SHA_1; in Curl_sasl_start()
426 mech = SASL_MECH_STRING_DIGEST_MD5; in Curl_sasl_start()
431 mech = SASL_MECH_STRING_CRAM_MD5; in Curl_sasl_start()
439 mech = SASL_MECH_STRING_NTLM; in Curl_sasl_start()
454 mech = SASL_MECH_STRING_OAUTHBEARER; in Curl_sasl_start()
467 mech = SASL_MECH_STRING_XOAUTH2; in Curl_sasl_start()
[all …]
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);
366 static CURLcode oldap_perform_auth(struct Curl_easy *data, const char *mech, in oldap_perform_auth() argument
380 rc = ldap_sasl_bind(li->ld, NULL, mech, pcred, NULL, NULL, &li->msgid); in oldap_perform_auth()
389 static CURLcode oldap_continue_auth(struct Curl_easy *data, const char *mech, in oldap_continue_auth() argument
403 rc = ldap_sasl_bind(li->ld, NULL, mech, pcred, NULL, NULL, &li->msgid); in oldap_continue_auth()
412 static CURLcode oldap_cancel_auth(struct Curl_easy *data, const char *mech) in oldap_cancel_auth() argument
419 (void)mech; in oldap_cancel_auth()
632 unsigned short mech = Curl_sasl_decode_mech((char *) bvals[i].bv_val, in oldap_state_mechs_resp() local
[all …]
Dpop3.c102 static CURLcode pop3_perform_auth(struct Curl_easy *data, const char *mech,
104 static CURLcode pop3_continue_auth(struct Curl_easy *data, const char *mech,
106 static CURLcode pop3_cancel_auth(struct Curl_easy *data, const char *mech);
482 const char *mech, in pop3_perform_auth() argument
491 result = Curl_pp_sendf(data, &pop3c->pp, "AUTH %s %s", mech, ir); in pop3_perform_auth()
495 result = Curl_pp_sendf(data, &pop3c->pp, "AUTH %s", mech); in pop3_perform_auth()
508 const char *mech, in pop3_continue_auth() argument
513 (void)mech; in pop3_continue_auth()
525 static CURLcode pop3_cancel_auth(struct Curl_easy *data, const char *mech) in pop3_cancel_auth() argument
529 (void)mech; in pop3_cancel_auth()
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);
429 const char *mech, in smtp_perform_auth() argument
438 result = Curl_pp_sendf(data, &smtpc->pp, "AUTH %s %s", mech, ir); in smtp_perform_auth()
442 result = Curl_pp_sendf(data, &smtpc->pp, "AUTH %s", mech); in smtp_perform_auth()
455 const char *mech, in smtp_continue_auth() argument
460 (void)mech; in smtp_continue_auth()
472 static CURLcode smtp_cancel_auth(struct Curl_easy *data, const char *mech) in smtp_cancel_auth() argument
476 (void)mech; in smtp_cancel_auth()
Dimap.c105 const char *mech,
108 const char *mech,
111 const char *mech);
544 const char *mech, in imap_perform_authenticate() argument
552 result = imap_sendf(data, "AUTHENTICATE %s %s", mech, ir); in imap_perform_authenticate()
556 result = imap_sendf(data, "AUTHENTICATE %s", mech); in imap_perform_authenticate()
569 const char *mech, in imap_continue_authenticate() argument
574 (void)mech; in imap_continue_authenticate()
587 const char *mech) in imap_cancel_authenticate() argument
591 (void)mech; in imap_cancel_authenticate()
Durldata.h969 const struct Curl_sec_client_mech *mech; member
/third_party/curl/lib/vauth/
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()
Dvauth.h127 const char *mech,
/third_party/python/Lib/
Dimaplib.py436 mech = mechanism.upper()
442 typ, dat = self._simple_command('AUTHENTICATE', mech)
1405 self.mech = mechinst # Callable object to provide/process data
1408 ret = self.mech(self.decode(data))
/third_party/icu/icu4c/source/test/testdata/
DConverterSelectorTestUTF8.txt195 … formou implementace ISO/IEC 10646. Je podporován v mnoha operačních systémech, všech moderních pr…
/third_party/curl/docs/
DTODO643 using ;auth=<mech> in the login part of the URL.
/third_party/NuttX/
DReleaseNotes29932 * [#4131](https://github.com/apache/nuttx/pull/4131) drivers/rptun: replace the notification mech f…