• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(114)  |  Call(17)  |  Derive(95)  |  Import(2)
An authentication protocol defined by RFC 2069

Digest authentication improves on basic authentication because it
does not transmit passwords in the clear.

src/e/x/exscript-HEAD/src/Exscriptd/Client.py   exscript(Download)
"""
from lxml             import etree
from urllib           import urlencode
from urllib2          import HTTPDigestAuthHandler, build_opener, HTTPError
from HTTPDigestServer import realm
from Order            import Order
from Task             import Task
        @param password: The password of the user.
        """
        self.address = 'http://' + address
        self.handler = HTTPDigestAuthHandler()
        self.opener  = build_opener(self.handler)
        self.handler.add_password(realm  = realm,
                                  uri    = self.address,

src/t/r/TracAccountManager-0.2.1dev-r4679/acct_mgr/http.py   TracAccountManager(Download)
#
# Author: Matthew Good <trac@matt-good.net>
 
from urllib2 import build_opener, HTTPBasicAuthHandler, \
                    HTTPDigestAuthHandler, HTTPPasswordMgrWithDefaultRealm
 
from trac.core import *