U
    ºXÇc+  ã                   @   s8   d dl mZ d dlmZ d dlmZ G dd„ deƒZdS )é    )ÚJWTAuthentication)ÚResponse)Úsettingsc                       s   e Zd Z‡ fdd„Z‡  ZS )ÚCookieHandlerJWTAuthenticationc                    s   t ƒ  |¡S )N)ÚsuperÚauthenticate)ÚselfÚrequest©Ú	__class__© ú9C:\Users\offic\Desktop\PIM\XCMS_PIM\api\authentication.pyr      s    z+CookieHandlerJWTAuthentication.authenticate)Ú__name__Ú
__module__Ú__qualname__r   Ú__classcell__r   r   r
   r   r      s   r   N)Z'rest_framework_simplejwt.authenticationr   Úrest_framework.responser   Údjango.confr   r   r   r   r   r   Ú<module>   s   