File manager - Edit - /snap/core20/2866/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/endpoints/__pycache__/signature_only.cpython-38.pyc
Back
U ��I]9 � @ sR d Z ddlmZmZ ddlZddlmZ ddlmZ e� e �ZG dd � d e�ZdS ) z� oauthlib.oauth1.rfc5849.endpoints.signature_only ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This module is an implementation of the signing logic of OAuth 1.0 RFC 5849. � )�absolute_import�unicode_literalsN� )�errors� )�BaseEndpointc @ s e Zd ZdZddd�ZdS )�SignatureOnlyEndpointz>An endpoint only responsible for verifying an oauth signature.�GETNc C sH z| � ||||�}W n8 tjk rL } zt�d| � W Y �dS d}~X Y nX z| �|� | �|� W n> tjk r� } zt�d| � d|f W Y �S d}~X Y nX | j�|j |j |j|�s�t�d� d|fS | j� |j |�}|s�| jj|_ | �|�}||jd<