ó
    |chä  ã                   óB   • S SK JrJr  S SK Jr  S SKJr   " S S\5      rg)é    )ÚWebApplicationClientÚInsecureTransportError)Úis_secure_transport)ÚAuthBasec                   ó(   • \ rS rSrSrSS jrS rSrg)ÚOAuth2é   z:Adds proof of authorization (OAuth2 token) to the request.Nc                 ó    • U=(       d	    [        XS9U l        U(       a0  UR                  5        H  u  pE[        U R                  XE5        M     gg)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         Úf/var/www/djangovue.mamus.xyz/django/venv/lib/python3.13/site-packages/requests_oauthlib/oauth2_auth.pyÚ__init__ÚOAuth2.__init__	   s>   € ð ×MÔ!5°iÑ!MˆŒÞØŸ™ž‘�Ü˜Ÿ™ aÖ+ò &ð ó    c                 óü   • [        UR                  5      (       d
  [        5       eU R                  R	                  UR                  UR
                  UR                  UR                  S9u  Ul        Ul        Ul        U$ )zï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__ÚOAuth2.__call__   sb   € ô # 1§5¡5×)Ñ)Ü(Ó*Ð*Ø#'§<¡<×#9Ñ#9Ø�E‰E˜qŸx™x¨a¯f©f¸a¿i¹ið $:ð $
Ñ ˆŒˆqŒy˜!œ&ð ˆr   )r   )NNN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r    Ú__static_attributes__© 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   