| Server IP : 138.197.107.151 / Your IP : 216.73.217.120 Web Server : Apache/2.4.58 (Ubuntu) System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : wpbetasites_mrakzqskir ( 1022) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__pycache__/ |
Upload File : |
�
&�`hA � �� � d Z ddlZddlZddlZddlmZ ddlmZm Z m
Z
mZmZ ddl
mZmZ ej e� ZdZdZdZeZd Zd
ZdZeZdZeeeeeeefZd
ZdZdZdZ G d� d� Z!y)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-SHA512� PLAINTEXT�AUTH_HEADER�QUERY�BODY�!application/x-www-form-urlencodedc � � e Zd ZdZeej eej e ej eej e
ej eej eej$ iZed� � Zddddeedddddddf
d�Zd� Zd� Zd� Zdd �Zdd
�Zy)
�Clientz2A client used to sign OAuth 1.0 RFC 5849 requests.c �"