§
    tŠtjä  ã                   óJ   — d dl mZmZ d dl mZ d dlmZ  G d„ de¦  «        ZdS )é    )ÚWebApplicationClientÚInsecureTransportError)Úis_secure_transport)ÚAuthBasec                   ó    — e Zd ZdZdd„Zd„ ZdS )ÚOAuth2z:Adds proof of authorization (OAuth2 token) to the request.Nc                 óž   — |pt          ||¬¦  «        | _        |r0|                     ¦   «         D ]\  }}t          | j        ||¦  «         ŒdS dS )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         ú[/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/requests_oauthlib/oauth2_auth.pyÚ__init__zOAuth2.__init__	   sl   € ð ÐMÕ!5°iÀuÐ!MÑ!MÔ!MˆŒØð 	,ØŸš™œð ,ð ,‘��1Ý˜œ a¨Ñ+Ô+Ð+Ð+ð	,ð 	,ð,ð ,ó    c                 óÔ   — t          |j        ¦  «        st          ¦   «         ‚| 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__   sc   € õ # 1¤5Ñ)Ô)ð 	+Ý(Ñ*Ô*Ð*Ø#'¤<×#9Ò#9ØŒE˜qœx¨a¬f¸a¼ið $:ñ $
ô $
Ñ ˆŒˆqŒy˜!œ&ð ˆr   )NNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r   r      s=   € € € € € ØDÐDð,ð ,ð ,ð ,ðð ð ð ð r   r   N)Úoauthlib.oauth2r   r   r   Úrequests.authr   r   r#   r   r   ú<module>r&      su   ðØ HÐ HÐ HÐ HÐ HÐ HÐ HÐ HØ /Ð /Ð /Ð /Ð /Ð /Ø "Ð "Ð "Ð "Ð "Ð "ðð ð ð ð ˆXñ ô ð ð ð r   