swissvotes.views.auth ===================== .. py:module:: swissvotes.views.auth Functions --------- .. autoapisummary:: swissvotes.views.auth.handle_login swissvotes.views.auth.view_logout swissvotes.views.auth.handle_password_reset_request swissvotes.views.auth.handle_password_reset swissvotes.views.auth.handle_totp_second_factor Module Contents --------------- .. py:function:: handle_login(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.user.forms.LoginForm) -> onegov.core.types.RenderData | webob.Response Handles the login requests. .. py:function:: view_logout(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest) -> webob.Response Handles the logout requests. .. py:function:: handle_password_reset_request(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.user.forms.RequestPasswordResetForm) -> onegov.core.types.RenderData | webob.Response Handles the password reset requests. .. py:function:: handle_password_reset(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.user.forms.PasswordResetForm) -> onegov.core.types.RenderData | webob.Response Handles password reset requests. .. py:function:: handle_totp_second_factor(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.user.forms.TOTPForm) -> onegov.core.types.RenderData | webob.Response