
    Tњ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)	AmazonOAuth2Adapter	   amazonz$https://api.amazon.com/auth/o2/tokenzhttp://www.amazon.com/ap/oaz#https://api.amazon.com/user/profilec                 4   [        5       R                  5       R                  U R                  SUR                  0S9nUR                  5         UR                  5       nSU;   a  US   S   US   S   US   S   S.nU R                  5       R                  X5      $ )Naccess_token)paramsProfile
CustomerIdNamePrimaryEmail)user_idnameemail)	r   get_requests_sessiongetprofile_urltokenraise_for_statusjsonget_providersociallogin_from_response)selfrequestappr   kwargsresponse
extra_datas          gD:\Anime\Ugyen\janka_web_project\venv\Lib\site-packages\allauth/socialaccount/providers/amazon/views.pycomplete_login"AmazonOAuth2Adapter.complete_login   s    M!!#S!!>5;;*GSH 	
 	!!#]]_

"%i0>"9-f5#I.~>J
   "<<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=1M7KRr&   r   N)
allauth.socialaccount.adapterr   ,allauth.socialaccount.providers.oauth2.viewsr   r   r   r   adapter_viewoauth2_loginoauth2_callbackr'   r&   r#   <module>r5      sD    5 R- R. ++,?@$112EFr&   