
    Uњh                         S SK Jr  S SKJrJrJr   " S S\5      r\R                  " \5      r\R                  " \5      r	g)    )get_adapter)OAuth2AdapterOAuth2CallbackViewOAuth2LoginViewc                   *    \ rS rSrSrSrSrSrS rSr	g)	ZohoOAuth2Adapter	   zohoz(https://accounts.zoho.com/oauth/v2/tokenz'https://accounts.zoho.com/oauth/v2/authz)https://accounts.zoho.com/oauth/user/infoc                    [        5       R                  5       R                  U R                  SSR	                  UR
                  5      0S9nUR                  5         UR                  5       nU R                  5       R                  X5      $ )NAuthorizationz	Bearer {})headers)
r   get_requests_sessiongetprofile_urlformattokenraise_for_statusjsonget_providersociallogin_from_response)selfrequestappr   kwargsresp
extra_datas          eD:\Anime\Ugyen\janka_web_project\venv\Lib\site-packages\allauth/socialaccount/providers/zoho/views.pycomplete_login ZohoOAuth2Adapter.complete_login   sw    M!!#S  (+*<*<U[[*IJ   	 	YY[
  "<<WQQ     N)
__name__
__module____qualname____firstlineno__provider_idaccess_token_urlauthorize_urlr   r   __static_attributes__r!   r    r   r   r   	   s    KA=M=KRr    r   N)
allauth.socialaccount.adapterr   ,allauth.socialaccount.providers.oauth2.viewsr   r   r   r   adapter_viewoauth2_loginoauth2_callbackr!   r    r   <module>r/      sD    5 R R( ++,=>$112CDr    