
    ~h                     d    d dl Z d dlmZ d dlmZ dgZ ee      Z G d de j                        Z	y)    N)	SecretStr)
get_logger
BearerAuthc                       e Zd ZdefdZd Zy)r   tokenc                 $    t        |      | _        y )N)r   r   )selfr   s     V/opt/mcp/mcp-sentiment/venv/lib/python3.12/site-packages/fastmcp/client/auth/bearer.py__init__zBearerAuth.__init__   s    u%
    c              #   h   K   d| j                   j                          |j                  d<   | y w)NzBearer Authorization)r   get_secret_valueheaders)r	   requests     r
   	auth_flowzBearerAuth.auth_flow   s.     -4TZZ5P5P5R4S+T(s   02N)__name__
__module____qualname__strr   r    r   r
   r   r      s    &c &r   )
httpxpydanticr   fastmcp.utilities.loggingr   __all__r   loggerAuthr   r   r   r
   <module>r      s/      0.	H	 r   