module documentation

This module contains the authentication handlers for Requests.

Class ​Auth​Base Base class that all auth implementations derive from
Class ​HTTPBasic​Auth Attaches HTTP Basic Authentication to the given Request object.
Class ​HTTPDigest​Auth Attaches HTTP Digest Authentication to the given Request object.
Class ​HTTPProxy​Auth Attaches HTTP Proxy Authentication to a given Request object.
Constant CONTENT​_TYPE​_FORM​_URLENCODED Undocumented
Constant CONTENT​_TYPE​_MULTI​_PART Undocumented
Function ​_basic​_auth​_str Returns a Basic Auth string.
CONTENT_TYPE_FORM_URLENCODED: str =

Undocumented

Value
'application/x-www-form-urlencoded'
CONTENT_TYPE_MULTI_PART: str =

Undocumented

Value
'multipart/form-data'
def _basic_auth_str(username, password):
Returns a Basic Auth string.