o
    õÁhÂ  ã                   @   sN   d dl mZ d dlmZ d dlmZ G dd„ deƒZG dd„ deƒZegZdS )	é    )ÚProviderAccount)ÚEvernoteOAuthAdapter)ÚOAuthProviderc                   @   s   e Zd Zdd„ Zdd„ ZdS )ÚEvernoteAccountc                 C   ó   d S ©N© ©Úselfr   r   úh/var/www/html/pos/venv/lib/python3.10/site-packages/allauth/socialaccount/providers/evernote/provider.pyÚget_profile_url   ó   zEvernoteAccount.get_profile_urlc                 C   r   r   r   r	   r   r   r   Úget_avatar_url
   r   zEvernoteAccount.get_avatar_urlN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r      s    r   c                   @   s,   e Zd ZdZdZeZeZdd„ Z	dd„ Z
dS )ÚEvernoteProviderÚevernoteÚEvernotec                 C   s   t |d ƒS )NÚedam_userId)Ústr©r
   Údatar   r   r   Úextract_uid   s   zEvernoteProvider.extract_uidc                 C   s   |S r   r   r   r   r   r   Úextract_common_fields   r   z&EvernoteProvider.extract_common_fieldsN)r   r   r   ÚidÚnamer   Úaccount_classr   Úoauth_adapter_classr   r   r   r   r   r   r      s    r   N)	Ú$allauth.socialaccount.providers.baser   Ú.allauth.socialaccount.providers.evernote.viewsr   Ú.allauth.socialaccount.providers.oauth.providerr   r   r   Úprovider_classesr   r   r   r   Ú<module>   s    
