Searched refs:auth (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c10379 void *pAuthArg; /* 1st argument to the access auth function */
76323 int auth; /* Authorization to use the function */ local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1072 const char *auth; local
1389 auth = sapi_cgibin_getenv("HTTP_AUTHORIZATION", sizeof("HTTP_AUTHORIZATION") - 1 TSRMLS_CC);
1390 php_handle_auth_data(auth TSRMLS_CC);
/PHP_TRUNK/ext/soap/
H A Dphp_http.c41 smart_str auth = {0}; local
43 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login));
44 smart_str_appendc(&auth, ':');
46 smart_str_appendl(&auth, Z_STRVAL_P(password), Z_STRLEN_P(password));
48 smart_str_0(&auth);
49 buf = php_base64_encode((unsigned char*)auth.s->val, auth.s->len);
54 smart_str_free(&auth);
68 smart_str auth = {0}; local
70 smart_str_appendl(&auth, Z_STRVAL_
777 smart_str auth = {0}; local
1120 char *auth = get_http_header_value(http_headers->val, "WWW-Authenticate: "); local
[all...]
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c399 const char *auth; local
425 auth = apr_table_get(f->r->headers_in, "Authorization");
426 php_handle_auth_data(auth TSRMLS_CC);
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c473 const char *auth; local
496 auth = apr_table_get(r->headers_in, "Authorization");
497 php_handle_auth_data(auth TSRMLS_CC);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1166 const char *auth; local
1427 auth = CGI_GETENV("HTTP_AUTHORIZATION");
1428 php_handle_auth_data(auth TSRMLS_CC);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_rinit_hook.h37 char *auth; variable
H A Dphpdbg_rinit_hook.c26 STD_PHP_INI_ENTRY("phpdbg.auth", "", PHP_INI_SYSTEM | PHP_INI_PERDIR, OnUpdateString, auth, zend_phpdbg_webhelper_globals, phpdbg_webhelper_globals)
49 zval *auth; local
51 if (Z_TYPE(cookies) == IS_ARRAY || (auth = zend_hash_str_find(Z_ARRVAL(cookies), PHPDBG_NAME "_AUTH_COOKIE", sizeof(PHPDBG_NAME "_AUTH_COOKIE"))) || Z_STRLEN_P(auth) != strlen(PHPDBG_WG(auth)) || strcmp(Z_STRVAL_P(auth), PHPDBG_WG(auth))) {
/PHP_TRUNK/main/
H A Dphp_main.h48 PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC);
H A Dmain.c2636 PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC)
2640 if (auth && auth[0] != '\0' && strncmp(auth, "Basic ", 6) == 0) {
2644 user = php_base64_decode(auth + 6, strlen(auth) - 6);
2663 if (ret == -1 && auth && auth[0] != '\0' && strncmp(auth, "Digest ", 7) == 0) {
2664 SG(request_info).auth_digest = estrdup(auth
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c2045 char *auth; local
2047 if (NULL != (auth = zend_hash_str_find_ptr(&client->request.headers, "authorization", sizeof("authorization")-1))) {
2048 php_handle_auth_data(auth TSRMLS_CC);

Completed in 170 milliseconds