Searched refs:auth_str (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_urllib2_localnet.py | 148 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/ |
D | test_urllib2_localnet.py | 107 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/ |
D | client.c | 2069 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/ |
D | xmlrpc_security_types.py | 663 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/ |
D | request.py | 1026 auth_str = base64.standard_b64encode(credentials).decode() 1028 'Basic {}'.format(auth_str.strip()))
|