
    Mh                     H    d Z ddlmZ ddlmZ  G d de          ZdefgZdS )	z7Tornado handlers for logging out of the Jupyter Server.   )JupyterHandler   )allow_unauthenticatedc                   (    e Zd ZdZed             ZdS )LogoutHandlerzAn auth logout handler.c                     | j                             |            | j        rddi}nddi}|                     |                     d|                     dS )zHandle a logout.infozSuccessfully logged out.warningz:Cannot log out. Jupyter Server authentication is disabled.zlogout.html)messageN)identity_providerclear_login_cookielogin_availablewriterender_template)selfr   s     Z/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/jupyter_server/auth/logout.pygetzLogoutHandler.get   sj     	11$777 	`9:GG "^_G

4''w'GGHHHHH    N)__name__
__module____qualname____doc__r   r    r   r   r   r   	   s9        !!I I I I Ir   r   z/logoutN)r   base.handlersr   	decoratorr   r   default_handlersr   r   r   <module>r      sy    = = + * * * * * , , , , , ,I I I I IN I I I  /0   r   