class documentation

Undocumented

Method __init__ Undocumented
Method build_path Build the path component for an API URL.
Method build_url Build an API URL.
Instance Variable code_challenge Undocumented
Instance Variable code_verifier Undocumented
Instance Variable consumer_key Undocumented
Instance Variable consumer_secret Undocumented
Instance Variable include_granted_scopes Undocumented
Instance Variable locale Undocumented
Instance Variable requests_session Undocumented
Instance Variable scope Undocumented
Instance Variable token_access_type Undocumented
Method _finish Undocumented
Method _get_authorize_url Undocumented
Instance Variable _timeout Undocumented
def __init__(self, consumer_key, consumer_secret=None, locale=None, token_access_type=None, scope=None, include_granted_scopes=None, use_pkce=False, timeout=DEFAULT_TIMEOUT, ca_certs=None): (source)
def build_path(self, target, params=None): (source)

Build the path component for an API URL. This method urlencodes the parameters, adds them to the end of the target url, and puts a marker for the API version in front. :param str target: A target url (e.g. '/files') to build upon. :param dict params: Optional dictionary of parameters (name to value). :return: The path and parameters components of an API URL. :rtype: str

def build_url(self, target, params=None, host=API_HOST): (source)

Build an API URL. This method adds scheme and hostname to the path returned from build_path. :param str target: A target url (e.g. '/files') to build upon. :param dict params: Optional dictionary of parameters (name to value). :return: The full API URL. :rtype: str

code_challenge = (source)

Undocumented

code_verifier = (source)

Undocumented

consumer_key = (source)

Undocumented

consumer_secret = (source)

Undocumented

include_granted_scopes = (source)

Undocumented

Undocumented

requests_session = (source)

Undocumented

Undocumented

token_access_type = (source)

Undocumented

def _finish(self, code, redirect_uri, code_verifier): (source)

Undocumented

def _get_authorize_url(self, redirect_uri, state, token_access_type=None, scope=None, include_granted_scopes=None, code_challenge=None): (source)

Undocumented

_timeout = (source)

Undocumented