swissvotes.views.auth

Functions

handle_login(→ RenderData | Response)

Handles the login requests.

view_logout(→ webob.Response)

Handles the logout requests.

handle_password_reset_request(→ RenderData | Response)

Handles the password reset requests.

handle_password_reset(→ RenderData | Response)

Handles password reset requests.

handle_totp_second_factor(→ RenderData | Response)

Module Contents

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

Handles the login requests.

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

Handles the logout requests.

swissvotes.views.auth.handle_password_reset_request(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.user.forms.RequestPasswordResetForm) RenderData | Response[source]

Handles the password reset requests.

swissvotes.views.auth.handle_password_reset(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.user.forms.PasswordResetForm) RenderData | Response[source]

Handles password reset requests.

swissvotes.views.auth.handle_totp_second_factor(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.user.forms.TOTPForm) RenderData | Response[source]