o
    ¼>hw  ã                   @   sB   d dl mZmZ d dlmZ 	 G dd„ deƒZG dd„ deƒZdS )é    )ÚABCÚabstractmethod)ÚTokenInterfacec                   @   s$   e Zd ZdZeddefdd„ƒZdS )ÚIdentityProviderInterfacezp
    Receive a token from the identity provider.
    Receiving a token only works when being authenticated.
    FÚreturnc                 C   ó   d S ©N© )ÚselfÚforce_refreshr	   r	   ún/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/redis/auth/idp.pyÚrequest_token   ó   z'IdentityProviderInterface.request_tokenN)F)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r	   r	   r	   r   r   
   s    r   c                   @   s"   e Zd ZdZedefdd„ƒZdS )ÚIdentityProviderConfigInterfacezK
    Configuration class that provides a configured identity provider.
    r   c                 C   r   r   r	   )r
   r	   r	   r   Úget_provider   r   z,IdentityProviderConfigInterface.get_providerN)r   r   r   r   r   r   r   r	   r	   r	   r   r      s    r   N)Úabcr   r   Úredis.auth.tokenr   r   r   r	   r	   r	   r   Ú<module>   s
    