
    i?1i*                     n    d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ  G d d	e      Zy
)    )warn)	OauthBase)DeviceCodeList)	OauthList)OpenidDiscoveryList)	TokenList)UserInfoListc                   z    e Zd Zedefd       Zedefd       Zedefd       Z	ede
fd       Zedefd       Zy)Oauthreturnc                 R    t        dt        d       | j                  j                  S )Nz*oauth is deprecated. Use v1.oauth instead.   
stacklevel)r   DeprecationWarningv1oauthselfs    d/home/www/therecruiter.miabetepe.com/venv/lib/python3.12/site-packages/twilio/rest/oauth/__init__.pyr   zOauth.oauth   #    8	

 ww}}    c                 R    t        dt        d       | j                  j                  S )Nz6device_code is deprecated. Use v1.device_code instead.r   r   )r   r   r   device_coder   s    r   r   zOauth.device_code   s%    D	

 ww"""r   c                 R    t        dt        d       | j                  j                  S )Nz@openid_discovery is deprecated. Use v1.openid_discovery instead.r   r   )r   r   r   openid_discoveryr   s    r   r   zOauth.openid_discovery   s%    N	

 ww'''r   c                 R    t        dt        d       | j                  j                  S )Nz*token is deprecated. Use v1.token instead.r   r   )r   r   r   tokenr   s    r   r   zOauth.token'   r   r   c                 R    t        dt        d       | j                  j                  S )Nz2user_info is deprecated. Use v1.user_info instead.r   r   )r   r   r   	user_infor   s    r   r    zOauth.user_info0   s%    @	

 ww   r   N)__name__
__module____qualname__propertyr   r   r   r   r   r   r   r   r	   r     r   r   r   r      s    y   #^ # # ("5 ( ( y   !< ! !r   r   N)warningsr   twilio.rest.oauth.OauthBaser    twilio.rest.oauth.v1.device_coder   twilio.rest.oauth.v1.oauthr   %twilio.rest.oauth.v1.openid_discoveryr   twilio.rest.oauth.v1.tokenr   twilio.rest.oauth.v1.user_infor	   r   r%   r   r   <module>r-      s&     1 ; 0 E 0 7,!I ,!r   