🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-07 17:20:37 | PHP 8.2.32
📂
/ (Root)
/
usr
/
lib
/
python3.6
/
site-packages
/
oauthlib
/
oauth1
/
rfc5849
/
__pycache__
📍 /usr/lib/python3.6/site-packages/oauthlib/oauth1/rfc5849/__pycache__
🔄 Refresh
✏️
Editing: utils.cpython-36.pyc
Read Only
3 ,�[� � @ s� d Z ddlmZmZ ddlmZmZmZmZ yddl Z W n e k rV ddljZ Y nX dZ dd� Zdd � Zd d� Zdd � Zdd� Zdd� Zdd� ZdS )zn oauthlib.utils ~~~~~~~~~~~~~~ This module contains utility methods used by various parts of the OAuth spec. � )�absolute_import�unicode_literals)� bytes_type�quote�unicode_type�unquoteNZ>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789c s � fdd�}� j |_ |S )z�Decorator which filters params to remove non-oauth_* parameters Assumes the decorated method takes a params dict or list of tuples as its first argument. c s t | �} � | f|�|�S )N)�filter_oauth_params)�params�args�kwargs)�target� �/usr/lib/python3.6/utils.py�wrapper s zfilter_params.<locals>.wrapper)�__doc__)r r r )r r � filter_params s r c C s: dd� }t | t�r(tt|t| j� ���S tt|| ��S dS )zARemoves all non oauth parameters from a dict or a list of params.c S s | d j d�S )Nr Zoauth_)� startswith)Zkvr r r �<lambda>( s z%filter_oauth_params.<locals>.<lambda>N)� isinstance�dict�list�filter�items)r Zis_oauthr r r r &