
    )Jf                     \    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 fdZ xZS )JupyterHubAccountc                     t          t          |                                           }| j        j                            d|          S Nname)superr   to_straccount
extra_dataget)selfdflt	__class__s     v/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/allauth/socialaccount/providers/jupyterhub/provider.pyr   zJupyterHubAccount.to_str   s:    &--4466|&**64888    )__name__
__module____qualname__r   __classcell__)r   s   @r   r   r      s8        9 9 9 9 9 9 9 9 9r   r   c                   &    e Zd ZdZdZeZd Zd ZdS )JupyterHubProvider
jupyterhub
JupyterHubc                 F    t          |                    d                    S r   )strr   r   datas     r   extract_uidzJupyterHubProvider.extract_uid   s    488F##$$$r   c                 J    t          |                    dd                    S )Nr	    )r	   )dictr   r   s     r   extract_common_fieldsz(JupyterHubProvider.extract_common_fields   s!    &"--....r   N)	r   r   r   idr	   r   account_classr    r$    r   r   r   r      sA        	BD%M% % %/ / / / /r   r   N)$allauth.socialaccount.providers.baser   /allauth.socialaccount.providers.oauth2.providerr   r   r   provider_classesr'   r   r   <module>r+      s    @ @ @ @ @ @ J J J J J J9 9 9 9 9 9 9 9	/ 	/ 	/ 	/ 	/ 	/ 	/ 	/ ''   r   