Lines Matching refs:conn
91 void Curl_sasl_cleanup(struct connectdata *conn, unsigned short authused) in Curl_sasl_cleanup() argument
93 (void)conn; in Curl_sasl_cleanup()
99 Curl_auth_cleanup_gssapi(&conn->krb5); in Curl_sasl_cleanup()
106 Curl_auth_gsasl_cleanup(&conn->gsasl); in Curl_sasl_cleanup()
113 Curl_auth_cleanup_ntlm(&conn->ntlm); in Curl_sasl_cleanup()
347 struct connectdata *conn = data->conn; in Curl_sasl_start() local
373 if((enabledmechs & SASL_MECH_EXTERNAL) && !conn->passwd[0]) { in Curl_sasl_start()
379 Curl_auth_create_external_message(conn->user, &resp); in Curl_sasl_start()
384 Curl_auth_user_contains_domain(conn->user)) { in Curl_sasl_start()
392 result = Curl_auth_create_gssapi_user_message(data, conn->user, in Curl_sasl_start()
393 conn->passwd, in Curl_sasl_start()
395 conn->host.name, in Curl_sasl_start()
397 NULL, &conn->krb5, in Curl_sasl_start()
405 &conn->gsasl)) { in Curl_sasl_start()
411 result = Curl_auth_gsasl_start(data, conn->user, in Curl_sasl_start()
412 conn->passwd, &conn->gsasl); in Curl_sasl_start()
414 result = Curl_auth_gsasl_token(data, &nullmsg, &conn->gsasl, &resp); in Curl_sasl_start()
418 &conn->gsasl)) { in Curl_sasl_start()
424 result = Curl_auth_gsasl_start(data, conn->user, in Curl_sasl_start()
425 conn->passwd, &conn->gsasl); in Curl_sasl_start()
427 result = Curl_auth_gsasl_token(data, &nullmsg, &conn->gsasl, &resp); in Curl_sasl_start()
454 conn->user, conn->passwd, in Curl_sasl_start()
457 &conn->ntlm, &resp); in Curl_sasl_start()
468 result = Curl_auth_create_oauth_bearer_message(conn->user, in Curl_sasl_start()
480 result = Curl_auth_create_xoauth_bearer_message(conn->user, in Curl_sasl_start()
490 result = Curl_auth_create_plain_message(conn->sasl_authzid, in Curl_sasl_start()
491 conn->user, conn->passwd, in Curl_sasl_start()
501 Curl_auth_create_login_message(conn->user, &resp); in Curl_sasl_start()
536 struct connectdata *conn = data->conn; in Curl_sasl_continue() local
575 result = Curl_auth_create_plain_message(conn->sasl_authzid, in Curl_sasl_continue()
576 conn->user, conn->passwd, &resp); in Curl_sasl_continue()
579 Curl_auth_create_login_message(conn->user, &resp); in Curl_sasl_continue()
583 Curl_auth_create_login_message(conn->passwd, &resp); in Curl_sasl_continue()
586 Curl_auth_create_external_message(conn->user, &resp); in Curl_sasl_continue()
592 result = Curl_auth_gsasl_token(data, &serverdata, &conn->gsasl, &resp); in Curl_sasl_continue()
601 result = Curl_auth_create_cram_md5_message(&serverdata, conn->user, in Curl_sasl_continue()
602 conn->passwd, &resp); in Curl_sasl_continue()
608 conn->user, conn->passwd, in Curl_sasl_continue()
622 conn->user, conn->passwd, in Curl_sasl_continue()
624 &conn->ntlm, &resp); in Curl_sasl_continue()
632 &conn->ntlm); in Curl_sasl_continue()
634 result = Curl_auth_create_ntlm_type3_message(data, conn->user, in Curl_sasl_continue()
635 conn->passwd, &conn->ntlm, in Curl_sasl_continue()
642 result = Curl_auth_create_gssapi_user_message(data, conn->user, in Curl_sasl_continue()
643 conn->passwd, in Curl_sasl_continue()
645 conn->host.name, in Curl_sasl_continue()
647 &conn->krb5, in Curl_sasl_continue()
661 &conn->krb5, in Curl_sasl_continue()
668 conn->sasl_authzid, in Curl_sasl_continue()
670 &conn->krb5, in Curl_sasl_continue()
679 conn->sasl_authzid, in Curl_sasl_continue()
681 &conn->krb5, in Curl_sasl_continue()
689 result = Curl_auth_create_oauth_bearer_message(conn->user, in Curl_sasl_continue()
699 result = Curl_auth_create_xoauth_bearer_message(conn->user, in Curl_sasl_continue()