Lines Matching refs:auth

42 		smart_str auth = {0};  in proxy_authentication()  local
44 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login)); in proxy_authentication()
45 smart_str_appendc(&auth, ':'); in proxy_authentication()
48 smart_str_appendl(&auth, Z_STRVAL_P(password), Z_STRLEN_P(password)); in proxy_authentication()
50 smart_str_0(&auth); in proxy_authentication()
51 buf = php_base64_encode((unsigned char*)ZSTR_VAL(auth.s), ZSTR_LEN(auth.s)); in proxy_authentication()
56 smart_str_free(&auth); in proxy_authentication()
71 smart_str auth = {0}; in basic_authentication() local
73 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login)); in basic_authentication()
74 smart_str_appendc(&auth, ':'); in basic_authentication()
77 smart_str_appendl(&auth, Z_STRVAL_P(password), Z_STRLEN_P(password)); in basic_authentication()
79 smart_str_0(&auth); in basic_authentication()
80 buf = php_base64_encode((unsigned char*)ZSTR_VAL(auth.s), ZSTR_LEN(auth.s)); in basic_authentication()
85 smart_str_free(&auth); in basic_authentication()
811 smart_str auth = {0}; in make_http_soap_request() local
812 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login)); in make_http_soap_request()
813 smart_str_appendc(&auth, ':'); in make_http_soap_request()
816 smart_str_appendl(&auth, Z_STRVAL_P(password), Z_STRLEN_P(password)); in make_http_soap_request()
818 smart_str_0(&auth); in make_http_soap_request()
819 buf = php_base64_encode((unsigned char*)ZSTR_VAL(auth.s), ZSTR_LEN(auth.s)); in make_http_soap_request()
824 smart_str_free(&auth); in make_http_soap_request()
1164 char *auth = get_http_header_value(ZSTR_VAL(http_headers), "WWW-Authenticate: "); in make_http_soap_request() local
1166 if (auth && in make_http_soap_request()
1167 strstr(auth, "Digest") == auth && in make_http_soap_request()
1178 s = auth + sizeof("Digest")-1; in make_http_soap_request()
1229 efree(auth); in make_http_soap_request()
1236 if (auth) efree(auth); in make_http_soap_request()