town6.views.auth ================ .. py:module:: town6.views.auth .. autoapi-nested-parse:: The authentication views. Functions --------- .. autoapisummary:: town6.views.auth.town_handle_login town6.views.auth.town_handle_registration town6.views.auth.town_handle_password_reset_request town6.views.auth.town_handle_password_reset town6.views.auth.town_handle_mtan_second_factor town6.views.auth.town_handle_mtan_second_factor_setup town6.views.auth.town_handle_totp_second_factor town6.views.auth.town_handle_request_mtan town6.views.auth.town_handle_authenticate_mtan Module Contents --------------- .. py:function:: town_handle_login(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.LoginForm) -> onegov.core.types.RenderData | webob.Response Handles the login requests. .. py:function:: town_handle_registration(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.RegistrationForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_password_reset_request(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.RequestPasswordResetForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_password_reset(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.PasswordResetForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_mtan_second_factor(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.MTANForm, layout: onegov.town6.layout.DefaultLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_mtan_second_factor_setup(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.RequestMTANForm, layout: onegov.town6.layout.DefaultLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_totp_second_factor(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.TOTPForm, layout: onegov.town6.layout.DefaultLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_request_mtan(self: onegov.org.auth.MTANAuth, request: onegov.town6.request.TownRequest, form: onegov.org.forms.PublicRequestMTANForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_authenticate_mtan(self: onegov.org.auth.MTANAuth, request: onegov.town6.request.TownRequest, form: onegov.org.forms.PublicMTANForm) -> onegov.core.types.RenderData | webob.Response