o
    i                     @   sD   d dl Z d dlmZ d dlmZ dgZeeZG dd de jZ	dS )    N)	SecretStr)
get_logger
BearerAuthc                   @   s"   e Zd ZdefddZdd ZdS )r   tokenc                 C   s   t || _d S )N)r   r   )selfr    r   `/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/fastmcp/client/auth/bearer.py__init__   s   zBearerAuth.__init__c                 c   s"    d| j   |jd< |V  d S )NzBearer Authorization)r   get_secret_valueheaders)r   requestr   r   r   	auth_flow   s   
zBearerAuth.auth_flowN)__name__
__module____qualname__strr	   r   r   r   r   r   r      s    )
httpxpydanticr   fastmcp.utilities.loggingr   __all__r   loggerAuthr   r   r   r   r   <module>   s    