a
    Qx_                     @   sB   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)OAuth2Providerc                   @   s   e Zd ZdS )TwentyThreeAndMeAccountN)__name__
__module____qualname__ r   r   q/var/www/html/Ranjet/env/lib/python3.9/site-packages/allauth/socialaccount/providers/twentythreeandme/provider.pyr      s   r   c                   @   s4   e Zd ZdZdZdZeZdd Zdd Z	dd	 Z
d
S )TwentyThreeAndMeProviderZtwentythreeandmeZ23andmeZ23andMec                 C   s   |d S )Nidr   selfdatar   r   r	   extract_uid   s    z$TwentyThreeAndMeProvider.extract_uidc                 C   s
   dg}|S )NZbasicr   )r   Zscoper   r   r	   get_default_scope   s    z*TwentyThreeAndMeProvider.get_default_scopec                 C   s   t |ddS )Nemail)r   )dictgetr   r   r   r	   extract_common_fields   s    z.TwentyThreeAndMeProvider.extract_common_fieldsN)r   r   r   r   Zslugnamer   Zaccount_classr   r   r   r   r   r   r	   r
   	   s   r
   N)Z$allauth.socialaccount.providers.baser   Z/allauth.socialaccount.providers.oauth2.providerr   r   r
   Zprovider_classesr   r   r   r	   <module>   s   