.. _f-authmount: module ``apps.staticapp.authmount`` =================================== .. inheritance-diagram:: mathenjeu.apps.staticapp.authmount Short summary +++++++++++++ module ``mathenjeu.apps.staticapp.authmount`` Custom Router to check for authentification. :githublink:`%|py|5` Classes +++++++ +-------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +===============================================================================+===========================================================================================================================+ | :class:`_CommonMethods ` | | +-------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+ | :class:`AuthMount ` | The router checks for authentification by looking for a cookie which contains an alias. This alias can only be set if ... | +-------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+ | :class:`AuthStaticFiles ` | Overloads *StaticFiles* to check authentification. | +-------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+ Properties ++++++++++ +----------------------------------------------------------------------+-------------------------+ | property | truncated documentation | +======================================================================+=========================+ | :meth:`routes ` | | +----------------------------------------------------------------------+-------------------------+ Methods +++++++ +----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | method | truncated documentation | +==============================================================================================+=======================================================================================================================+ | :py:meth:`__call__ ` | Checks the user is authenticated, falls back in the previous behavior, otherwise redirect to the authentification ... | +----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :py:meth:`__call__ ` | The ASGI entry point. | +----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`get_app_session ` | Retrieves the :epkg:`starlette` application and the session. | +----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`get_app_session ` | Retrieves the :epkg:`starlette` application and the session. | +----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`get_app_session ` | Retrieves the :epkg:`starlette` application and the session. | +----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mathenjeu.apps.staticapp.authmount :members: :special-members: __init__ :show-inheritance: