Ë
    ?²Xjä  ã                   óB   — d dl mZmZ d dl mZ d dlmZ  G d„ de«      Zy)é    )ÚWebApplicationClientÚInsecureTransportError)Úis_secure_transport)ÚAuthBasec                   ó   — e Zd ZdZdd„Zd„ Zy)ÚOAuth2z:Adds proof of authorization (OAuth2 token) to the request.Nc                 ó”   — |xs t        ||¬«      | _        |r0|j                  «       D ]  \  }}t        | j                  ||«       Œ yy)a·  Construct a new OAuth 2 authorization object.

        :param client_id: Client id obtained during registration
        :param client: :class:`oauthlib.oauth2.Client` to be used. Default is
                       WebApplicationClient which is useful for any
                       hosted application but not mobile or desktop.
        :param token: Token dictionary, must include access_token
                      and token_type.
        )ÚtokenN)r   Ú_clientÚitemsÚsetattr)ÚselfÚ	client_idÚclientr
   ÚkÚvs         úc/var/www/html/content_generation/venv/lib/python3.12/site-packages/requests_oauthlib/oauth2_auth.pyÚ__init__zOAuth2.__init__	   sD   € ð ÒMÔ!5°iÀuÔ!MˆŒÙØŸ™ž‘��1Ü˜Ÿ™ a¨Õ+ñ &ð ó    c                 óø   — t        |j                  «      s
t        «       ‚| j                  j	                  |j                  |j
                  |j                  |j                  ¬«      \  |_        |_        |_        |S )a  Append an OAuth 2 token to the request.

        Note that currently HTTPS is required for all requests. There may be
        a token type that allows for plain HTTP in the future and then this
        should be updated to allow plain HTTP on a white list basis.
        )Úhttp_methodÚbodyÚheaders)r   Úurlr   r   Ú	add_tokenÚmethodr   r   )r   Úrs     r   Ú__call__zOAuth2.__call__   s_   € ô # 1§5¡5Ô)Ü(Ó*Ð*Ø#'§<¡<×#9Ñ#9Ø�E‰E˜qŸx™x¨a¯f©f¸a¿i¹ið $:ó $
Ñ ˆŒˆqŒy˜!œ&ð ˆr   )NNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r   r      s   „ ÙDó,ór   r   N)Úoauthlib.oauth2r   r   r   Úrequests.authr   r   r#   r   r   Ú<module>r&      s   ðß HÝ /Ý "ôˆXõ r   