Searched defs:auth (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/soap/
H A Dphp_http.c42 smart_str auth = {0}; local
44 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login));
45 smart_str_appendc(&auth, ':');
48 smart_str_appendl(&auth, Z_STRVAL_P(password), Z_STRLEN_P(password));
50 smart_str_0(&auth);
51 buf = php_base64_encode((unsigned char*)auth.s->val, auth.s->len);
56 smart_str_free(&auth);
71 smart_str auth = {0}; local
73 smart_str_appendl(&auth, Z_STRVAL_
781 smart_str auth = {0}; local
1126 char *auth = get_http_header_value(http_headers->val, "WWW-Authenticate: "); local
[all...]
/PHP_TRUNK/sapi/phpdbg/
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))) {
H A Dphpdbg_rinit_hook.h37 char *auth; variable
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c10876 void *pAuthArg; /* 1st argument to the access auth function */
10919 sqlite3_userauth auth; /* User authentication information */ member in struct:sqlite3
81012 int auth; /* Authorization to use the function */ local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1132 const char *auth; local
1393 auth = CGI_GETENV("HTTP_AUTHORIZATION");
1394 php_handle_auth_data(auth);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1996 char *auth; local
1998 if (NULL != (auth = zend_hash_str_find_ptr(&client->request.headers, "authorization", sizeof("authorization")-1))) {
1999 php_handle_auth_data(auth);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1015 const char *auth; local
1332 auth = sapi_cgibin_getenv("HTTP_AUTHORIZATION", sizeof("HTTP_AUTHORIZATION") - 1);
1333 php_handle_auth_data(auth);
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c476 const char *auth; local
499 auth = apr_table_get(r->headers_in, "Authorization");
500 php_handle_auth_data(auth);
/PHP_TRUNK/main/
H A Dmain.c2559 PHPAPI int php_handle_auth_data(const char *auth) argument
2563 if (auth && auth[0] != '\0' && strncmp(auth, "Basic ", 6) == 0) {
2567 user = php_base64_decode((const unsigned char*)auth + 6, strlen(auth) - 6);
2586 if (ret == -1 && auth && auth[0] != '\0' && strncmp(auth, "Digest ", 7) == 0) {
2587 SG(request_info).auth_digest = estrdup(auth
[all...]

Completed in 159 milliseconds