Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON 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>