3 ,[9 @ sR d Z ddlmZmZ ddlZddlmZ ddlmZ ej e ZG dd d eZdS ) z oauthlib.oauth1.rfc5849.endpoints.signature_only ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This module is an implementation of the signing logic of OAuth 1.0 RFC 5849. )absolute_importunicode_literalsN )errors )BaseEndpointc @ s e Zd ZdZdddZdS )SignatureOnlyEndpointz>An endpoint only responsible for verifying an oauth signature.GETNc ! C s6 y| j ||||}W n0 tjk rD } ztjd| d S d}~X nX y| j| | j| W n4 tjk r } ztjd| d|fS d}~X nX | jj|j |j |j|stjd d|fS | jj |j |}|s| jj|_ | j|}||jd<