Module ImportFrom alias alias Expr Str TryExcept body ImportFrom alias alias handlers ExceptHandler type NameLoad body ImportFrom alias alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Dict Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If NameLoad body Assign NameStore BinOpAdd BinOpMod Str NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad BoolOpOr Call NameLoad NameLoad ListLoad Return Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list
N/A __future__ absolute_import unicode_literals N/A 
oauthlib.parameters
~~~~~~~~~~~~~~~~~~~

This module contains methods related to `section 3.5`_ of the OAuth 1.0a spec.

.. _`section 3.5`: http://tools.ietf.org/html/rfc5849#section-3.5
 N/A N/A urlparse urlparse urlunparse N/A N/A N/A ImportError N/A urllib.parse urlparse urlunparse N/A utils oauthlib.common extract_params urlencode prepare_headers N/A N/A oauth_params headers realm N/A None None N/A N/A **Prepare the Authorization header.**
    Per `section 3.5.1`_ of the spec.

    Protocol parameters can be transmitted using the HTTP "Authorization"
    header field as defined by `RFC2617`_ with the auth-scheme name set to
    "OAuth" (case insensitive).

    For example::

        Authorization: OAuth realm="Example",
            oauth_consumer_key="0685bd9184jfhq22",
            oauth_token="ad180jjd733klru7",
            oauth_signature_method="HMAC-SHA1",
            oauth_signature="wOJIO9A2W5mFwDgiDvZbTSMK%2FPY%3D",
            oauth_timestamp="137131200",
            oauth_nonce="4572616e48616d6d65724c61686176",
            oauth_version="1.0"


    .. _`section 3.5.1`: http://tools.ietf.org/html/rfc5849#section-3.5.1
    .. _`RFC2617`: http://tools.ietf.org/html/rfc2617
     N/A headers N/A headers N/A N/A authorization_header_parameters_parts N/A N/A N/A oauth_parameter_name value oauth_params N/A N/A escaped_name N/A N/A utils escape oauth_parameter_name N/A escaped_value N/A N/A utils escape value N/A part N/A N/A {0}="{1}" format escaped_name escaped_value N/A N/A N/A authorization_header_parameters_parts append part N/A authorization_header_parameters N/A N/A ,  join authorization_header_parameters_parts N/A realm N/A N/A authorization_header_parameters N/A N/A realm="%s",  realm authorization_header_parameters N/A authorization_header N/A OAuth %s authorization_header_parameters N/A full_headers N/A N/A N/A N/A full_headers update headers N/A N/A full_headers N/A Authorization authorization_header N/A full_headers N/A N/A utils filter_params _append_params N/A N/A oauth_params params N/A N/A N/A Append OAuth params to an existing set of parameters.

    Both params and oauth_params is must be lists of 2-tuples.

    Per `section 3.5.2`_ and `3.5.3`_ of the spec.

    .. _`section 3.5.2`: http://tools.ietf.org/html/rfc5849#section-3.5.2
    .. _`3.5.3`: http://tools.ietf.org/html/rfc5849#section-3.5.3

     N/A merged N/A list params N/A N/A N/A merged extend oauth_params N/A N/A N/A merged sort key N/A N/A N/A i N/A N/A N/A N/A i N/A 0 startswith oauth_ N/A merged N/A prepare_form_encoded_body N/A N/A oauth_params body N/A N/A N/A Prepare the Form-Encoded Body.

    Per `section 3.5.2`_ of the spec.

    .. _`section 3.5.2`: http://tools.ietf.org/html/rfc5849#section-3.5.2

     N/A N/A _append_params oauth_params body N/A prepare_request_uri_query N/A N/A oauth_params uri N/A N/A N/A Prepare the Request URI Query.

    Per `section 3.5.3`_ of the spec.

    .. _`section 3.5.3`: http://tools.ietf.org/html/rfc5849#section-3.5.3

     N/A N/A sch net path par query fra N/A urlparse uri N/A query N/A urlencode N/A _append_params oauth_params N/A N/A extract_params query N/A N/A N/A urlunparse N/A sch net path par query fra N/A