§
    (Gj	  ã                   ó^   — d Z ddlmZmZmZmZmZmZmZm	Z	m
Z
 ddlmZmZmZmZmZmZ g d¢ZdS )aÍ  Dashboard authentication provider framework.

The dashboard auth gate engages only when the dashboard binds to a
non-loopback host without ``--insecure``. In that mode, every request must
carry a verified session from one of the registered ``DashboardAuthProvider``
plugins.

The Nous provider lives in ``plugins/dashboard-auth-nous/`` and is the
default. Third parties register their own providers via the plugin hook
``ctx.register_dashboard_auth_provider``.
é    )	ÚDashboardAuthProviderÚSessionÚTokenPrincipalÚ
LoginStartÚInvalidCodeErrorÚInvalidCredentialsErrorÚProviderErrorÚRefreshExpiredErrorÚassert_protocol_compliance)Úregister_providerÚget_providerÚlist_providersÚlist_token_providersÚlist_session_providersÚclear_providers)r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   N)Ú__doc__Úhermes_cli.dashboard_auth.baser   r   r   r   r   r   r	   r
   r   Ú"hermes_cli.dashboard_auth.registryr   r   r   r   r   r   Ú__all__© ó    úH/home/rurouni/.hermes/hermes-agent/hermes_cli/dashboard_auth/__init__.pyú<module>r      sâ   ðð
ð 
ð
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ðð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ðð ð €€€r   