ó
    ychª	  ã                   ó†   • S r SSKJrJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r	g)z¿
oauthlib.oauth1.rfc5849.errors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error used both by OAuth 1 clients and provicers to represent the spec
defined error responses for all four core grant types.
é    )Úadd_params_to_uriÚ	urlencodec                   ó^   ^ • \ rS rSrSrSr  S	U 4S jjrS r\S 5       r	\S 5       r
SrU =r$ )
ÚOAuth1Erroré   NÚ c                 óì   >• U=(       d    U R                   U l         SR                  U R                  U R                   5      nU(       a  US[        U5      -   -  n[        TU ]  U5        X l        X0l        g)a6  
description:    A human-readable ASCII [USASCII] text providing
                additional information, used to assist the client
                developer in understanding the error that occurred.
                Values for the "error_description" parameter MUST NOT
                include characters outside the set
                x20-21 / x23-5B / x5D-7E.

uri:    A URI identifying a human-readable web page with information
        about the error, used to provide the client developer with
        additional information about the error.  Values for the
        "error_uri" parameter MUST conform to the URI- Reference
        syntax, and thus MUST NOT include characters outside the set
        x21 / x23-5B / x5D-7E.

state:  A CSRF protection value received from the client.

request:  Oauthlib Request object
z({}) {}Ú N)ÚdescriptionÚformatÚerrorÚreprÚsuperÚ__init__ÚuriÚstatus_code)Úselfr   r   r   ÚrequestÚmessageÚ	__class__s         €Úg/var/www/djangovue.mamus.xyz/django/venv/lib/python3.13/site-packages/oauthlib/oauth1/rfc5849/errors.pyr   ÚOAuth1Error.__init__   sb   ø€ ð* '×:¨$×*:Ñ*:ˆÔØ×"Ñ" 4§:¡:¨t×/?Ñ/?Ó@ˆÞØ�sœT '›]Ñ*Ñ*ˆGÜ‰Ñ˜Ô!àŒØ&Õó    c                 ó,   • [        XR                  5      $ ©N)r   Ú	twotuples)r   r   s     r   Úin_uriÚOAuth1Error.in_uri-   s   € Ü  §n¡nÓ5Ð5r   c                 óÜ   • SU R                   4/nU R                  (       a  UR                  SU R                  45        U R                  (       a  UR                  SU R                  45        U$ )Nr   Úerror_descriptionÚ	error_uri)r   r   Úappendr   )r   r   s     r   r   ÚOAuth1Error.twotuples0   sU   € à˜4Ÿ:™:Ð&Ð'ˆØ××Ø�L‰LÐ-¨t×/?Ñ/?Ð@ÔAØ�8�8Ø�L‰L˜+ t§x¡xÐ0Ô1Øˆr   c                 ó,   • [        U R                  5      $ r   )r   r   )r   s    r   Ú
urlencodedÚOAuth1Error.urlencoded9   s   € ä˜Ÿ™Ó(Ð(r   )r   r   r   )NNi�  N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   r   r   Úpropertyr   r%   Ú__static_attributes__Ú__classcell__)r   s   @r   r   r      sE   ø† Ø€EØ€Kà?BØ÷'ò<6ð ñó ðð ñ)ó ö)r   r   c                   ó   • \ rS rSrSrSrSrg)ÚInsecureTransportErroré>   Úinsecure_transport_protocolz%Only HTTPS connections are permitted.© N)r'   r(   r)   r*   r   r   r,   r2   r   r   r/   r/   >   s   † Ø)€EØ9ƒKr   r/   c                   ó   • \ rS rSrSrSrg)ÚInvalidSignatureMethodErroréC   Úinvalid_signature_methodr2   N©r'   r(   r)   r*   r   r,   r2   r   r   r4   r4   C   s   † Ø&ƒEr   r4   c                   ó   • \ rS rSrSrSrg)ÚInvalidRequestErroréG   Úinvalid_requestr2   Nr7   r2   r   r   r9   r9   G   s   † ØƒEr   r9   c                   ó   • \ rS rSrSrSrg)ÚInvalidClientErroréK   Úinvalid_clientr2   Nr7   r2   r   r   r=   r=   K   s   † ØƒEr   r=   N)
Ú__doc__Úoauthlib.commonr   r   Ú	Exceptionr   r/   r4   r9   r=   r2   r   r   Ú<module>rC      sL   ðñ÷ 9ô0)�)ô 0)ôf:˜[ô :ô
' +ô 'ô˜+ô ô˜õ r   