HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/oauthlib/oauth1/rfc5849/__pycache__/errors.cpython-36.opt-1.pyc
3

,�[�	�@stdZddlmZddlmZmZGdd�de�ZGdd�de�ZGdd	�d	e�Z	Gd
d�de�Z
Gdd
�d
e�ZdS)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.
�)�unicode_literals)�add_params_to_uri�	urlencodecsFeZdZdZdZd�fdd�	Zdd�Zedd	��Zed
d��Z	�Z
S)
�OAuth1ErrorN��csP|p|j|_d|j|jf}|r0|dt|�7}tt|�j|�||_||_dS)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(%s) %s� N)�description�error�repr�superr�__init__�uri�status_code)�selfr	rrZrequest�message)�	__class__��/usr/lib/python3.6/errors.pyr
szOAuth1Error.__init__cCst||j�S)N)r�	twotuples)rrrrr�in_uri0szOAuth1Error.in_uricCs<d|jfg}|jr"|jd|jf�|jr8|jd|jf�|S)Nr
Zerror_descriptionZ	error_uri)r
r	�appendr)rr
rrrr3szOAuth1Error.twotuplescCs
t|j�S)N)rr)rrrr�
urlencoded<szOAuth1Error.urlencoded)NNrN)�__name__�
__module__�__qualname__r
r	r
r�propertyrr�
__classcell__rr)rrrs	rc@seZdZdZdZdS)�InsecureTransportErrorZinsecure_transport_protocolz%Only HTTPS connections are permitted.N)rrrr
r	rrrrrAsrc@seZdZdZdS)�InvalidSignatureMethodErrorZinvalid_signature_methodN)rrrr
rrrrrFsrc@seZdZdZdS)�InvalidRequestErrorZinvalid_requestN)rrrr
rrrrr Jsr c@seZdZdZdS)�InvalidClientErrorZinvalid_clientN)rrrr
rrrrr!Nsr!N)�__doc__Z
__future__rZoauthlib.commonrr�	Exceptionrrrr r!rrrr�<module>s3