Home | History | Annotate | Download | only in python2.7

Lines Matching refs:Realm

60 authinfo.add_password(realm='PDQ Application',
758 def add_password(self, realm, uri, user, passwd):
762 if not realm in self.passwd:
763 self.passwd[realm] = {}
767 self.passwd[realm][reduced_uri] = (user, passwd)
769 def find_user_password(self, realm, authuri):
770 domains = self.passwd.get(realm, {})
819 def find_user_password(self, realm, authuri):
820 user, password = HTTPPasswordMgr.find_user_password(self, realm,
830 # the last one with a realm specified.
832 # allow for double- and single-quoted realm values
835 'realm=(["\']?)([^"\']*)\\2', re.I)
867 scheme, quote, realm = mo.groups()
869 warnings.warn("Basic Auth Realm was unquoted",
872 response = self.retry_http_basic_auth(host, req, realm)
877 def retry_http_basic_auth(self, host, req, realm):
878 user, pw = self.passwd.find_user_password(realm, host)
996 realm = chal['realm']
1010 user, pw = self.passwd.find_user_password(realm, req.get_full_url())
1020 A1 = "%s:%s:%s" % (user, realm, pw)
1043 base = 'username="%s", realm="%s", nonce="%s", uri="%s", ' \
1044 'response="%s"' % (user, realm, nonce, req.get_selector(),