
    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	Sr
g	)
HubicOAuth2Adapter	   hubicz!https://api.hubic.com/oauth/tokenz https://api.hubic.com/oauth/authz!https://api.hubic.com/1.0/accounthttpsc                     US   S   n[        5       R                  5       R                  U R                  SU< SUR                  < 30S9nUR                  5       nU R                  5       R                  X5      $ )Nresponse
token_typeAuthorization )headers)r   get_requests_sessiongetprofile_urltokenjsonget_providersociallogin_from_response)selfrequestappr   kwargsr   resp
extra_datas           fD:\Anime\Ugyen\janka_web_project\venv\Lib\site-packages\allauth/socialaccount/providers/hubic/views.pycomplete_login!HubicOAuth2Adapter.complete_login   st    J'5
M!!#S  (Z*MN   	 YY[
  "<<WQQ     N)__name__
__module____qualname____firstlineno__provider_idaccess_token_urlauthorize_urlr   redirect_uri_protocolr    __static_attributes__r#   r"   r   r   r   	   s#    K:6M5K#Rr"   r   N)
allauth.socialaccount.adapterr   ,allauth.socialaccount.providers.oauth2.viewsr   r   r   r   adapter_viewoauth2_loginoauth2_callbackr#   r"   r   <module>r2      sD    5 R R* ++,>?$112DEr"   