|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/local/lib/python3.6/site-packages/oauthlib/oauth1/rfc5849/__pycache__/ |
Upload File : |
3 F�KdhA � @ s� d Z ddlZddlZddlZddljZddlmZm Z m Z mZmZ ddl mZmZ eje�ZdZdZdZeZd Zd ZdZeZdZeeeeeeefZd ZdZdZdZ G dd� d�Z!dS )a� oauthlib.oauth1.rfc5849 ~~~~~~~~~~~~~~ This module is an implementation of various logic needed for signing and checking OAuth 1.0 RFC 5849 requests. It supports all three standard signature methods defined in RFC 5849: - HMAC-SHA1 - RSA-SHA1 - PLAINTEXT It also supports signature methods that are not defined in RFC 5849. These are based on the standard ones but replace SHA-1 with the more secure SHA-256: - HMAC-SHA256 - RSA-SHA256 � N)�Request�generate_nonce�generate_timestamp� to_unicode� urlencode� )� parameters� signaturez HMAC-SHA1zHMAC-SHA256zHMAC-SHA512zRSA-SHA1z RSA-SHA256z RSA-SHA512Z PLAINTEXTZAUTH_HEADERZQUERYZBODYz!application/x-www-form-urlencodedc @ s� e Zd ZdZeejeeje ej eeje ejeejeejiZedd� �Zddddeedddddddf dd�Zdd � Zd d� Zdd � Zddd�Zddd�ZdS )�Clientz2A client used to sign OAuth 1.0 RFC 5849 requests.c C s || j |<