gazette.views.auth ================== .. py:module:: gazette.views.auth .. autoapi-nested-parse:: The authentication views. Functions --------- .. autoapisummary:: gazette.views.auth.handle_login gazette.views.auth.view_logout gazette.views.auth.handle_password_reset_request gazette.views.auth.handle_password_reset gazette.views.auth.handle_totp_second_factor Module Contents --------------- .. py:function:: handle_login(self: onegov.user.Auth, request: onegov.gazette.request.GazetteRequest, 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.gazette.request.GazetteRequest) -> webob.Response Handles the logout requests. .. py:function:: handle_password_reset_request(self: onegov.gazette.models.Principal, request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.RequestPasswordResetForm) -> onegov.core.types.RenderData Handles the password reset requests. .. py:function:: handle_password_reset(self: onegov.gazette.models.Principal, request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.PasswordResetForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_totp_second_factor(self: onegov.user.Auth, request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.TOTPForm) -> onegov.core.types.RenderData | webob.Response