o
    =i4                     @   sD   d dl mZmZ d dlmZ d dlmZmZmZ G dd deZ	dS )    )DictOptional)AsyncClient)AsyncGoTrueClientAsyncSupportedStorageAuthFlowTypec                       s   e Zd ZdZdddddddddd	dedeeeef  dee d	ed
edee dee	 de
dedee ddf fddZ  ZS )AsyncSupabaseAuthClientz1Supabase Auth Client for asynchronous operations.NTimplicit)	headersstorage_keyauto_refresh_tokenpersist_sessionstoragehttp_client	flow_typeverifyproxyurlr
   r   r   r   r   r   r   r   r   returnc       
            s0   |du ri }t  j|||||||||	|
d
 dS )a  
        Instantiate a SupabaseAuthClient instance.

        Args:
            url (str): The URL of the Supabase instance.
            headers (Optional[Dict[str, str]]): Optional headers to include in requests.
            storage_key (Optional[str]): Key to store session information.
            auto_refresh_token (bool): Whether to automatically refresh the token. Defaults to True.
            persist_session (bool): Whether to persist the session. Defaults to True.
            storage (AsyncSupportedStorage): Storage mechanism. Defaults to AsyncMemoryStorage().
            http_client (Optional[AsyncClient]): HTTP client for making requests. Defaults to None.
            flow_type (AuthFlowType): Type of authentication flow. Defaults to "implicit".
            verify (bool): Whether to verify SSL certificates. Defaults to True.
            proxy (Optional[str]): Proxy URL. Defaults to None.
        N)
r   r
   r   r   r   r   r   r   r   r   )super__init__)selfr   r
   r   r   r   r   r   r   r   r   	__class__ X/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/supabase/_async/auth_client.pyr      s   
z AsyncSupabaseAuthClient.__init__)__name__
__module____qualname____doc__strr   r   boolr   r   r   r   __classcell__r   r   r   r   r      sD    	
r   N)
typingr   r   httpxr   supabase_authr   r   r   r   r   r   r   r   <module>   s    