Searched refs:user_pass (Results 1 – 3 of 3) sorted by relevance
153 user_pass = (self.username + ":" + self.password).encode('ascii')156 auth = "Basic " + standard_b64encode(user_pass).decode('ascii')
1133 gchar *user_pass; in add_auth_header() local1140 user_pass = g_strdup_printf ("%s:%s", conn->username, conn->passwd); in add_auth_header()1141 user_pass64 = g_base64_encode ((guchar *) user_pass, strlen (user_pass)); in add_auth_header()1147 g_free (user_pass); in add_auth_header()
816 user_pass = '%s:%s' % (unquote(user),818 creds = base64.b64encode(user_pass.encode()).decode("ascii")