election_day.views.auth

The authentication views.

Functions

handle_login(→ RenderData | Response)

Handles the login requests.

view_logout(→ webob.response.Response)

Handles the logout requests.

handle_password_reset_request(...)

Handles the password reset requests.

handle_password_reset(→ onegov.core.types.RenderData)

Handles password reset requests.

Module Contents

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

Handles the login requests.

election_day.views.auth.view_logout(self: onegov.user.Auth, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

Handles the logout requests.

election_day.views.auth.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[source]

Handles the password reset requests.

election_day.views.auth.handle_password_reset(self: onegov.election_day.models.Principal, request: onegov.election_day.request.ElectionDayRequest, form: onegov.user.forms.PasswordResetForm) onegov.core.types.RenderData[source]

Handles password reset requests.