Module ImportFrom alias alias Expr Str Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr Call NameLoad NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad Str attr NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr Call NameLoad NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad orelse Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad AttributeLoad Call NameLoad NameLoad attr If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Return Call NameLoad Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpDiv BinOpAdd AttributeLoad NameLoad attr BinOpMult BinOpAdd AttributeLoad NameLoad attr BinOpMult BinOpMult AttributeLoad NameLoad attr Num Num BinOpPow Num Num BinOpPow Num Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list
N/A __future__ absolute_import unicode_literals N/A 
oauthlib.utils
~~~~~~~~~~~~~~

This module contains utility methods used by various parts of the OAuth 2 spec.
 N/A os N/A datetime N/A N/A urllib quote N/A N/A N/A ImportError N/A urllib.parse quote N/A N/A urlparse urlparse N/A N/A N/A ImportError N/A urllib.parse urlparse oauthlib.common unicode_type urldecode list_to_scope N/A N/A scope N/A N/A N/A Convert a list of scopes to a space separated string. N/A N/A N/A isinstance scope unicode_type N/A scope None N/A N/A scope N/A N/A N/A isinstance scope list N/A N/A N/A N/A join scope N/A N/A N/A ValueError Invalid scope, must be string or list. N/A scope_to_list N/A N/A scope N/A N/A N/A Convert a space separated string to a list of scopes. N/A N/A N/A isinstance scope list N/A scope None N/A N/A scope N/A N/A N/A N/A scope split N/A params_from_uri N/A N/A uri N/A N/A N/A params N/A dict N/A urldecode N/A N/A urlparse uri query N/A N/A scope params N/A N/A N/A params N/A scope N/A scope_to_list N/A params N/A scope N/A params N/A host_from_uri N/A N/A uri N/A N/A N/A Extract hostname and port from URI.

    Will use default port for HTTP and HTTPS if none is present in the URI.
     N/A default_ports N/A HTTP HTTPS 80 443 N/A N/A sch netloc path par query fra N/A urlparse uri N/A N/A : netloc N/A N/A N/A netloc port N/A N/A netloc split : 1 N/A N/A port N/A N/A default_ports get N/A N/A sch upper N/A N/A netloc port N/A escape N/A N/A u N/A N/A N/A Escape a string in an OAuth-compatible fashion.

    TODO: verify whether this can in fact be used for OAuth 2

     N/A N/A N/A isinstance u unicode_type N/A N/A N/A ValueError Only unicode objects are escapable. N/A N/A quote N/A N/A u encode utf-8 safe ~ N/A generate_age N/A N/A issue_time N/A N/A N/A Generate a age parameter for MAC authentication draft 00. N/A td N/A N/A N/A N/A datetime datetime now issue_time N/A age N/A N/A N/A td microseconds N/A N/A N/A td seconds N/A N/A N/A td days 24 3600 N/A 10 6 N/A 10 6 N/A N/A unicode_type age N/A is_secure_transport N/A N/A uri N/A N/A N/A Check if the uri is over ssl. N/A N/A N/A N/A os environ get DEBUG N/A N/A True N/A N/A N/A N/A N/A uri lower startswith https:// N/A