ó
    ychÿ  ã                   ób   • S r SSKrSSKJr  SSKJr  \R                  " \5      r " S S\5      r	g)	z±
oauthlib.oauth1.rfc5849.endpoints.signature_only
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This module is an implementation of the signing logic of OAuth 1.0 RFC 5849.
é    Né   )Úerrorsé   )ÚBaseEndpointc                   ó&   • \ rS rSrSr  SS jrSrg)ÚSignatureOnlyEndpointé   z>An endpoint only responsible for verifying an oauth signature.Nc                 ó¦  •  U R                  XX45      n U R                  U5        U R                  U5        U R                  R                  UR                  UR                  UR                  U5      (       d  [        R                  S5        SU4$ U R                  R                  UR                  U5      nU(       d  U R                  R                  Ul	        U R                  U5      nXuR                   S'   X…R                   S'   [#        Xx45      n	U	(       dA  [        R	                  S5        [        R	                  S	U5        [        R	                  S
U5        X•4$ ! [        R                   a"  n[        R	                  SU-  5         SnAgSnAff = f! [        R                   a&  n[        R	                  SU-  5        SU4s SnA$ SnAff = f)ap  Validate a signed OAuth request.

:param uri: The full URI of the token request.
:param http_method: A valid HTTP verb, i.e. GET, POST, PUT, HEAD, etc.
:param body: The request body as a string.
:param headers: The request headers as a dict.
:returns: A tuple of 2 elements.
          1. True if valid, False otherwise.
          2. An oauthlib.common.Request object.
z.Exception caught while validating request, %s.N)FNFz.[Failure] verification failed: timestamp/nonceÚclientÚ	signaturez&[Failure] request verification failed.zValid client: %szValid signature: %s)Ú_create_requestr   ÚOAuth1ErrorÚlogÚinfoÚ_check_transport_securityÚ_check_mandatory_parametersÚrequest_validatorÚvalidate_timestamp_and_nonceÚ
client_keyÚ	timestampÚnonceÚdebugÚvalidate_client_keyÚdummy_clientÚ_check_signatureÚvalidator_logÚall)
ÚselfÚuriÚhttp_methodÚbodyÚheadersÚrequestÚerrÚvalid_clientÚvalid_signatureÚvs
             Úy/var/www/djangovue.mamus.xyz/django/venv/lib/python3.13/site-packages/oauthlib/oauth1/rfc5849/endpoints/signature_only.pyÚvalidate_requestÚ&SignatureOnlyEndpoint.validate_request   s›  € ð	Ø×*Ñ*¨3¸TÓKˆGð	"Ø×*Ñ*¨7Ô3Ø×,Ñ,¨WÔ5ð ×%Ñ%×BÑBØ×"Ñ" G×$5Ñ$5°w·}±}Àg÷Oñ Oä�I‰IÐFÔGØ˜'�>Ð!ð ×-Ñ-×AÑAØ×Ñ ó)ˆæØ!%×!7Ñ!7×!DÑ!DˆGÔà×/Ñ/°Ó8ˆð +7×Ñ˜hÑ'Ø-<×Ñ˜kÑ*ô �Ð/Ó0ˆÞÜ�H‰HÐ=Ô>Ü�H‰HÐ'¨Ô6Ü�H‰HÐ*¨OÔ<ØˆzÐøô_ ×!Ñ!ó 	Ü�H‰HØ@À3ÑFôHäûð	ûô ×!Ñ!ó 	"Ü�H‰HØ@À3ÑFôHà˜'�>Õ!ûð	"ús4   ‚E •"F ÅFÅ1FÆFÆGÆ*GÇGÇG© )ÚGETNN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r)   Ú__static_attributes__r+   ó    r(   r   r      s   † áHà05Ø,0÷=r3   r   )
r1   ÚloggingÚ r   Úbaser   Ú	getLoggerr-   r   r   r+   r3   r(   Ú<module>r8      s3   ðñó å Ý à×Ò˜Ó!€ôA˜Lõ Ar3   