
    Uњh                     Z    S SK Jr  S SKJr  S SKJr   " S S\5      r " S S\5      r\/rg)	    )ProviderAccount)OAuthProvider)TrelloOAuthAdapterc                        \ rS rSrS rS rSrg)TrelloAccount   c                     g N selfs    jD:\Anime\Ugyen\janka_web_project\venv\Lib\site-packages\allauth/socialaccount/providers/trello/provider.pyget_profile_urlTrelloAccount.get_profile_url           c                     g r
   r   r   s    r   get_avatar_urlTrelloAccount.get_avatar_url
   r   r   r   N)__name__
__module____qualname____firstlineno__r   r   __static_attributes__r   r   r   r   r      s    r   r   c                   J   ^  \ rS rSrSrSr\r\r	S r
S rS rU 4S jrSrU =r$ )	TrelloProvider   trelloTrelloc                     S/$ )Nreadr   r   s    r   get_default_scope TrelloProvider.get_default_scope   s	    xr   c                     US   $ )Nidr   r   datas     r   extract_uidTrelloProvider.extract_uid   s    Dzr   c                 r    [        UR                  S5      UR                  S5      UR                  S5      S9$ )Nemailusernamename)r+   r,   r-   )dictgetr&   s     r   extract_common_fields$TrelloProvider.extract_common_fields   s3    ((7#XXj)&!
 	
r   c                 l   > [         TU ]  X5      nSUS'   U R                  R                  US'   SUS'   U$ )N
web_servertyper-   never
expiration)superget_auth_params_from_requestappr-   )r   requestactionr'   	__class__s       r   r8   +TrelloProvider.get_auth_params_from_request!   s=    w3GD#Vxx}}V %\r   r   )r   r   r   r   r%   r-   r   account_classr   oauth_adapter_classr"   r(   r0   r8   r   __classcell__)r<   s   @r   r   r      s1    	BD!M,
 r   r   N)	$allauth.socialaccount.providers.baser   .allauth.socialaccount.providers.oauth.providerr   ,allauth.socialaccount.providers.trello.viewsr   r   r   provider_classesr   r   r   <module>rE      s1    @ H KO ] : ## r   