
    ,iw                     N    d dl mZmZ d dlmZ 	  G d de      Z G d de      Zy)    )ABCabstractmethod)TokenInterfacec                   (    e Zd ZdZeddefd       Zy)IdentityProviderInterfacezp
    Receive a token from the identity provider.
    Receiving a token only works when being authenticated.
    returnc                      y N )selfforce_refreshs     S/var/www/html/langgraph-service/venv/lib/python3.12/site-packages/redis/auth/idp.pyrequest_tokenz'IdentityProviderInterface.request_token           N)F)__name__
__module____qualname____doc__r   r   r   r   r   r   r   r   
   s"    
 N  r   r   c                   &    e Zd ZdZedefd       Zy)IdentityProviderConfigInterfacezK
    Configuration class that provides a configured identity provider.
    r   c                      y r
   r   )r   s    r   get_providerz,IdentityProviderConfigInterface.get_provider   r   r   N)r   r   r   r   r   r   r   r   r   r   r   r      s#     7  r   r   N)abcr   r   redis.auth.tokenr   r   r   r   r   r   <module>r      s(    # +
 c r   