class documentation

class HTTPDigestAuth(AuthBase): (source)

View In Hierarchy

Attaches HTTP Digest Authentication to the given Request object.

Method __call__ Undocumented
Method __eq__ Undocumented
Method __init__ Undocumented
Method __ne__ Undocumented
Method build_digest_header :rtype: str
Method handle_401 Takes the given response and tries digest-auth, if needed.
Method handle_redirect Reset num_401_calls counter on redirects.
Method init_per_thread_state Undocumented
Instance Variable password Undocumented
Instance Variable username Undocumented
Instance Variable _thread_local Undocumented
def __call__(self, r): (source)

Undocumented

def __eq__(self, other): (source)

Undocumented

def __init__(self, username, password): (source)

Undocumented

def __ne__(self, other): (source)

Undocumented

def build_digest_header(self, method, url): (source)

:rtype: str

def handle_401(self, r, **kwargs): (source)

Takes the given response and tries digest-auth, if needed. :rtype: requests.Response

def handle_redirect(self, r, **kwargs): (source)

Reset num_401_calls counter on redirects.

def init_per_thread_state(self): (source)

Undocumented

password = (source)

Undocumented

username = (source)

Undocumented

_thread_local = (source)

Undocumented