
    qh`                     *    S r SSKJr   " S S\5      rg)z
Dribbble OAuth2 backend, docs at:
    https://python-social-auth.readthedocs.io/en/latest/backends/dribbble.html
    http://developer.dribbble.com/v1/oauth/
   )
BaseOAuth2c                   <    \ rS rSrSrSrSrSrSr/ SQr	S r
S	 rS
rg)DribbbleOAuth2
   z%Dribbble OAuth authentication backenddribbblez$https://dribbble.com/oauth/authorizez https://dribbble.com/oauth/token,))idr	   )namer
   )html_urlr   )
avatar_urlr   )bior   )locationr   )linksr   )buckets_countr   )comments_received_countr   )followers_countr   )followings_countr   )likes_countr   )likes_received_countr   )projects_countr   )rebounds_received_countr   )shots_countr   )teams_countr   )pror   )buckets_urlr   )followers_urlr   )following_urlr   )	likes_url	shots_url)	teams_urlr    )
created_atr!   )
updated_atr"   c                     U R                  UR                  S5      5      u  p#nUR                  S5      UR                  SS5      UUUS.$ )z)Return user details from Dribbble accountr
   usernameemail )r$   r%   fullname
first_name	last_name)get_user_namesget)selfresponser'   r(   r)   s        O/var/www/html/env/lib/python3.13/site-packages/social_core/backends/dribbble.pyget_user_detailsDribbbleOAuth2.get_user_details-   sM    *.*=*=hll6>R*S'i Z0\\'2. $"
 	
    c                 ,    U R                  SSSU 30S9$ )zLoads user data from servicez https://api.dribbble.com/v1/userAuthorizationzBearer )headers)get_json)r,   access_tokenargskwargss       r.   	user_dataDribbbleOAuth2.user_data8   s*    }}.$~&>?  
 	
r1    N)__name__
__module____qualname____firstlineno____doc__r
   AUTHORIZATION_URLACCESS_TOKEN_URLSCOPE_SEPARATOR
EXTRA_DATAr/   r9   __static_attributes__r;   r1   r.   r   r   
   s,    /D>9OJ8	

r1   r   N)r@   oauthr   r   r;   r1   r.   <module>rG      s    3
Z 3
r1   