§
    ZŠtjª	  ã                   ó¦   — d Z ddlmZmZ  G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d	„ d
e¦  «        Z G d„ de¦  «        Z	dS )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                   ó^   ‡ — e Zd ZdZdZ	 	 dˆ fd„	Zd„ Zed„ ¦   «         Zed„ ¦   «         Z	ˆ xZ
S )	ÚOAuth1ErrorNÚ é�  c                 óð   •— |p| j         | _         d                     | j        | j         ¦  «        }|r|dt          |¦  «        z   z  }t	          ¦   «                              |¦  «         || _        || _        dS )a®  
        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         €ú\/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/oauthlib/oauth1/rfc5849/errors.pyr   zOAuth1Error.__init__   sy   ø€ ð* 'Ð:¨$Ô*:ˆÔØ×"Ò" 4¤:¨tÔ/?Ñ@Ô@ˆØð 	+Ø�s�T '™]œ]Ñ*Ñ*ˆGÝ‰Œ×Ò˜Ñ!Ô!Ð!àˆŒØ&ˆÔÐÐó    c                 ó,   — t          || j        ¦  «        S ©N)r   Ú	twotuples)r   r   s     r   Úin_urizOAuth1Error.in_uri-   s   € Ý   d¤nÑ5Ô5Ð5r   c                 ó¦   — d| j         fg}| j        r|                     d| j        f¦  «         | j        r|                     d| j        f¦  «         |S )Nr   Úerror_descriptionÚ	error_uri)r   r   Úappendr   )r   r   s     r   r   zOAuth1Error.twotuples0   s`   € à˜4œ:Ð&Ð'ˆØÔð 	BØ�LŠLÐ-¨tÔ/?Ð@ÑAÔAÐAØŒ8ð 	2Ø�LŠL˜+ t¤xÐ0Ñ1Ô1Ð1Øˆr   c                 ó*   — t          | j        ¦  «        S r   )r   r   )r   s    r   Ú
urlencodedzOAuth1Error.urlencoded9   s   € å˜œÑ(Ô(Ð(r   )NNr   N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   Úpropertyr   r"   Ú__classcell__)r   s   @r   r   r      s’   ø€ € € € € Ø€EØ€Kà?BØð'ð 'ð 'ð 'ð 'ð 'ð<6ð 6ð 6ð ðð ñ „Xðð ð)ð )ñ „Xð)ð )ð )ð )ð )r   r   c                   ó   — e Zd ZdZdZdS )ÚInsecureTransportErrorÚinsecure_transport_protocolz%Only HTTPS connections are permitted.N)r#   r$   r%   r   r   © r   r   r)   r)   >   s   € € € € € Ø)€EØ9€K€K€Kr   r)   c                   ó   — e Zd ZdZdS )ÚInvalidSignatureMethodErrorÚinvalid_signature_methodN©r#   r$   r%   r   r+   r   r   r-   r-   C   s   € € € € € Ø&€E€E€Er   r-   c                   ó   — e Zd ZdZdS )ÚInvalidRequestErrorÚinvalid_requestNr/   r+   r   r   r1   r1   G   s   € € € € € Ø€E€E€Er   r1   c                   ó   — e Zd ZdZdS )ÚInvalidClientErrorÚinvalid_clientNr/   r+   r   r   r4   r4   K   s   € € € € € Ø€E€E€Er   r4   N)
Ú__doc__Úoauthlib.commonr   r   Ú	Exceptionr   r)   r-   r1   r4   r+   r   r   ú<module>r9      s  ððð ð 9Ð 8Ð 8Ð 8Ð 8Ð 8Ð 8Ð 8ð0)ð 0)ð 0)ð 0)ð 0)�)ñ 0)ô 0)ð 0)ðf:ð :ð :ð :ð :˜[ñ :ô :ð :ð
'ð 'ð 'ð 'ð ' +ñ 'ô 'ð 'ðð ð ð ð ˜+ñ ô ð ðð ð ð ð ˜ñ ô ð ð ð r   