Server IP : 192.158.238.246 / Your IP : 18.117.216.191 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.6/site-packages/oauthlib/oauth1/rfc5849/__pycache__/ |
Upload File : |
3 ,�[A\ � @ s$ d Z ddlmZmZ ddlZddlZddlZddlZddlm Z m Z mZmZm Z ddlmZ yddlZW n ek r� ddljZY nX eje�Zdd� Zd(d d �Zdg ddd fdd�Zdd� Zdd� Zdd� Zdadd� Zdd� Zdd� Z dd� Z!dd� Z"d)d d!�Z#d"d#� Z$d$d%� Z%d*d&d'�Z&dS )+a� oauthlib.oauth1.rfc5849.signature ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This module represents a direct implementation of `section 3.4`_ of the spec. Terminology: * Client: software interfacing with an OAuth API * Server: the API provider * Resource Owner: the user who is granting authorization to the client Steps for signing a request: 1. Collect parameters from the uri query, auth header, & body 2. Normalize those parameters 3. Normalize the uri 4. Pass the normalized uri, normalized parameters, and http method to construct the base string 5. Pass the base string and any keys needed to a signing function .. _`section 3.4`: https://tools.ietf.org/html/rfc5849#section-3.4 � )�absolute_import�unicode_literalsN)� bytes_type�extract_params�safe_string_equals�unicode_type� urldecode� )�utilsc C s>