Ë
    ûûàg¦  ã                   ó‚   — d dl mZ d dlmZmZmZ  G d„ de«      Z ej                  e«      Z ej                  e«      Z	y)é    )Úget_adapter)ÚOAuth2AdapterÚOAuth2CallbackViewÚOAuth2LoginViewc                   óV   — e Zd ZdZed„ «       Zed„ «       Zed„ «       Zed„ «       Zd„ Z	y)ÚSalesforceOAuth2AdapterÚ
salesforcec                 óJ   — | j                  «       j                  j                  S )N)Úget_providerÚappÚkey©Úselfs    ún/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/allauth/socialaccount/providers/salesforce/views.pyÚbase_urlz SalesforceOAuth2Adapter.base_url   s   € à× Ñ Ó"×&Ñ&×*Ñ*Ð*ó    c                 ó8   — dj                  | j                  «      S )Nz{}/services/oauth2/authorize©Úformatr   r   s    r   Úauthorize_urlz%SalesforceOAuth2Adapter.authorize_url   s   € à-×4Ñ4°T·]±]ÓCÐCr   c                 ó8   — dj                  | j                  «      S )Nz{}/services/oauth2/tokenr   r   s    r   Úaccess_token_urlz(SalesforceOAuth2Adapter.access_token_url   s   € à)×0Ñ0°·±Ó?Ð?r   c                 ó8   — dj                  | j                  «      S )Nz{}/services/oauth2/userinfor   r   s    r   Úuserinfo_urlz$SalesforceOAuth2Adapter.userinfo_url   s   € à,×3Ñ3°D·M±MÓBÐBr   c                 ó   — t        «       j                  «       j                  | j                  d|j                  i¬«      }|j                  «        |j                  «       }| j                  «       j                  ||«      S )NÚoauth_token)Úparams)	r   Úget_requests_sessionÚgetr   ÚtokenÚraise_for_statusÚjsonr   Úsociallogin_from_response)r   Úrequestr   r    ÚkwargsÚrespÚ
extra_datas          r   Úcomplete_loginz&SalesforceOAuth2Adapter.complete_login   sg   € ä‹Mß!Ñ!Ó#ß‰S�×"Ñ"¨M¸5¿;¹;Ð+GˆSÓHð 	ð
 	×ÑÔØ—Y‘Y“[ˆ
Ø× Ñ Ó"×<Ñ<¸WÀjÓQÐQr   N)
Ú__name__Ú
__module__Ú__qualname__Úprovider_idÚpropertyr   r   r   r   r(   © r   r   r   r   	   sa   „ Ø€Kàñ+ó ð+ð ñDó ðDð ñ@ó ð@ð ñCó ðCóRr   r   N)
Úallauth.socialaccount.adapterr   Ú,allauth.socialaccount.providers.oauth2.viewsr   r   r   r   Úadapter_viewÚoauth2_loginÚoauth2_callbackr.   r   r   ú<module>r4      sI   ðÝ 5÷ñ ôR˜mô Rð< ,ˆ×+Ñ+Ð,CÓD€Ø1Ð$×1Ñ1Ð2IÓJ�r   