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)JupyterHubOAuth2Adapter)OAuth2Providerc                   @   s   e Zd ZdS )JupyterHubAccountN)__name__
__module____qualname__ r	   r	   j/var/www/html/pos/venv/lib/python3.10/site-packages/allauth/socialaccount/providers/jupyterhub/provider.pyr      s    r   c                   @   s,   e Zd ZdZdZeZeZdd Z	dd Z
dS )JupyterHubProvider
jupyterhub
JupyterHubc                 C   s   t |dS )Nname)strgetselfdatar	   r	   r
   extract_uid   s   zJupyterHubProvider.extract_uidc                 C   s   t |dddS )Nr    )r   )dictr   r   r	   r	   r
   extract_common_fields   s   z(JupyterHubProvider.extract_common_fieldsN)r   r   r   idr   r   account_classr   oauth2_adapter_classr   r   r	   r	   r	   r
   r   
   s    r   N)	$allauth.socialaccount.providers.baser   0allauth.socialaccount.providers.jupyterhub.viewsr   /allauth.socialaccount.providers.oauth2.providerr   r   r   provider_classesr	   r	   r	   r
   <module>   s    
