gazette.views.auth

The authentication views.

Functions

handle_login(→ RenderData | Response)

Handles the login requests.

view_logout(→ webob.Response)

Handles the logout requests.

handle_password_reset_request(...)

Handles the password reset requests.

handle_password_reset(→ RenderData | Response)

handle_totp_second_factor(→ RenderData | Response)

Module Contents

gazette.views.auth.handle_login(self: onegov.user.Auth, request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.LoginForm) RenderData | Response[source]

Handles the login requests.

gazette.views.auth.view_logout(self: onegov.user.Auth, request: onegov.gazette.request.GazetteRequest) webob.Response[source]

Handles the logout requests.

gazette.views.auth.handle_password_reset_request(self: onegov.gazette.models.Principal, request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.RequestPasswordResetForm) onegov.core.types.RenderData[source]

Handles the password reset requests.

gazette.views.auth.handle_password_reset(self: onegov.gazette.models.Principal, request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.PasswordResetForm) RenderData | Response[source]
gazette.views.auth.handle_totp_second_factor(self: onegov.user.Auth, request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.TOTPForm) RenderData | Response[source]