
    )Jfl                     \    d dl mZ d dlmZ  G d de          Z G d de          ZegZdS )    )ProviderAccount)OAuth2Providerc                   *     e Zd Zd Zd Z fdZ xZS )BitlyAccountc                 @    | j         j                            d          S )Nprofile_urlaccount
extra_datagetselfs    q/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/allauth/socialaccount/providers/bitly/provider.pyget_profile_urlzBitlyAccount.get_profile_url   s    |&**=999    c                 @    | j         j                            d          S )Nprofile_imager	   r   s    r   get_avatar_urlzBitlyAccount.get_avatar_url	   s    |&**?;;;r   c                     t          t          |                                           }| j        j                            dd          d|dS )N	full_name z ())superr   to_strr
   r   r   )r   dflt	__class__s     r   r   zBitlyAccount.to_str   sM    \4((//11L#''R8888DD
 	
r   )__name__
__module____qualname__r   r   r   __classcell__)r   s   @r   r   r      sV        : : :< < <
 
 
 
 
 
 
 
 
r   r   c                   &    e Zd ZdZdZeZd Zd ZdS )BitlyProviderbitlyBitlyc                 ,    t          |d                   S )Nlogin)strr   datas     r   extract_uidzBitlyProvider.extract_uid   s    4=!!!r   c                 V    t          |d         |                    d                    S )Nr&   r   )usernamename)dictr   r(   s     r   extract_common_fieldsz#BitlyProvider.extract_common_fields   s%    T']+1F1FGGGGr   N)	r   r   r   idr-   r   account_classr*   r/    r   r   r"   r"      sF        	BD M" " "H H H H Hr   r"   N)$allauth.socialaccount.providers.baser   /allauth.socialaccount.providers.oauth2.providerr   r   r"   provider_classesr2   r   r   <module>r6      s    @ @ @ @ @ @ J J J J J J
 
 
 
 
? 
 
 
	H 	H 	H 	H 	HN 	H 	H 	H "?   r   