election_day.views.auth ======================= .. py:module:: election_day.views.auth .. autoapi-nested-parse:: The authentication views. Functions --------- .. autoapisummary:: election_day.views.auth.handle_login election_day.views.auth.view_logout election_day.views.auth.handle_password_reset_request election_day.views.auth.handle_password_reset election_day.views.auth.handle_totp_second_factor Module Contents --------------- .. py:function:: handle_login(self: onegov.user.Auth, request: onegov.election_day.request.ElectionDayRequest, form: onegov.user.forms.LoginForm) -> onegov.core.types.RenderData | webob.response.Response Handles the login requests. .. py:function:: view_logout(self: onegov.user.Auth, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response Handles the logout requests. .. py:function:: handle_password_reset_request(self: onegov.election_day.models.Principal, request: onegov.election_day.request.ElectionDayRequest, form: onegov.user.forms.PasswordResetForm) -> onegov.core.types.RenderData Handles the password reset requests. .. py:function:: handle_password_reset(self: onegov.election_day.models.Principal, request: onegov.election_day.request.ElectionDayRequest, form: onegov.user.forms.PasswordResetForm) -> onegov.core.types.RenderData Handles password reset requests. .. py:function:: handle_totp_second_factor(self: onegov.user.Auth, request: onegov.election_day.request.ElectionDayRequest, form: onegov.user.forms.TOTPForm) -> onegov.core.types.RenderData | webob.response.Response