Home
last modified time | relevance | path

Searched refs:auth_str (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_urllib2_localnet.py148 def _create_auth_dict(self, auth_str): argument
149 first_space_index = auth_str.find(" ")
150 auth_str = auth_str[first_space_index+1:]
152 parts = auth_str.split(",")
/external/python/cpython3/Lib/test/
Dtest_urllib2_localnet.py107 def _create_auth_dict(self, auth_str): argument
108 first_space_index = auth_str.find(" ")
109 auth_str = auth_str[first_space_index+1:]
111 parts = auth_str.split(",")
/external/libcups/scheduler/
Dclient.c2069 char auth_str[1024]; /* Authorization string */ in cupsdSendHeader() local
2104 auth_str[0] = '\0'; in cupsdSendHeader()
2108 strlcpy(auth_str, "Basic realm=\"CUPS\"", sizeof(auth_str)); in cupsdSendHeader()
2114 strlcpy(auth_str, "PeerCred", sizeof(auth_str)); in cupsdSendHeader()
2117 strlcpy(auth_str, "Negotiate", sizeof(auth_str)); in cupsdSendHeader()
2136 auth_key = auth_str + strlen(auth_str); in cupsdSendHeader()
2137 auth_size = sizeof(auth_str) - (size_t)(auth_key - auth_str); in cupsdSendHeader()
2181 if (auth_str[0]) in cupsdSendHeader()
2183 cupsdLogClient(con, CUPSD_LOG_DEBUG, "WWW-Authenticate: %s", auth_str); in cupsdSendHeader()
2185 httpSetField(con->http, HTTP_FIELD_WWW_AUTHENTICATE, auth_str); in cupsdSendHeader()
/external/autotest/client/common_lib/cros/network/
Dxmlrpc_security_types.py663 auth_str = 'auth=' + self.inner_protocol[len(self.TTLS_PREFIX):]
664 ret.update({self.SERVICE_PROPERTY_INNER_EAP: auth_str})
/external/python/cpython3/Lib/urllib/
Drequest.py1026 auth_str = base64.standard_b64encode(credentials).decode()
1028 'Basic {}'.format(auth_str.strip()))