
    UњhQ                         S SK Jr  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)    )app_settings)get_adapter)OAuth2AdapterOAuth2CallbackViewOAuth2LoginViewc                       \ rS rSrSrSrSrSrSr\	R                  R                  \0 5      rS\R                  SS	5      0rS
 rSrg)RedditAdapter
   redditz*https://www.reddit.com/api/v1/access_tokenz'https://www.reddit.com/api/v1/authorizez"https://oauth.reddit.com/api/v1/meTz
User-Agent
USER_AGENTzdjango-allauth-headerc                 H   SSUR                   -   0nUR                  U R                  5        [        5       R	                  5       R                  U R                  US9n[        U[        5      (       a  US   nU R                  5       R                  XR                  5       5      $ )NAuthorizationzbearer )headersr   )tokenupdater   r   get_requests_sessiongetprofile_url
isinstancelistget_providersociallogin_from_responsejson)selfrequestappr   kwargsr   
extra_datas          gD:\Anime\Ugyen\janka_web_project\venv\Lib\site-packages\allauth/socialaccount/providers/reddit/views.pycomplete_loginRedditAdapter.complete_login   s    "I$;<t||$M..044T5E5Ew4W 	
 j$''#AJ  "<<WooFWXX     N)__name__
__module____qualname____firstlineno__provider_idaccess_token_urlauthorize_urlr   
basic_authr   	PROVIDERSr   settingsr   r    __static_attributes__r#   r"   r   r	   r	   
   sP    KC=M6KJ%%))+r:HX\\,8OPQGYr"   r	   N)allauth.socialaccountr   allauth.socialaccount.adapterr   ,allauth.socialaccount.providers.oauth2.viewsr   r   r   r	   adapter_viewoauth2_loginoauth2_callbackr#   r"   r   <module>r5      sE    . 5 YM Y2 ++M:$11-@r"   