town6.views.auth

The authentication views.

Functions

town_handle_login(...)

Handles the login requests.

town_handle_registration(...)

town_handle_password_reset_request(...)

town_handle_password_reset(...)

town_handle_mtan_second_factor(...)

town_handle_mtan_second_factor_setup(...)

town_handle_totp_second_factor(...)

town_handle_request_mtan(...)

town_handle_authenticate_mtan(...)

Module Contents

town6.views.auth.town_handle_login(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.LoginForm) onegov.core.types.RenderData | webob.Response[source]

Handles the login requests.

town6.views.auth.town_handle_registration(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.RegistrationForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.auth.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[source]
town6.views.auth.town_handle_password_reset(self: onegov.user.Auth, request: onegov.town6.request.TownRequest, form: onegov.user.forms.PasswordResetForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.auth.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[source]
town6.views.auth.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[source]
town6.views.auth.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[source]
town6.views.auth.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[source]
town6.views.auth.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[source]