swissvotes.views.auth

Functions

handle_login(...)

Handles the login requests.

view_logout(→ webob.Response)

Handles the logout requests.

handle_password_reset_request(...)

Handles the password reset requests.

handle_password_reset(...)

Handles password reset requests.

handle_totp_second_factor(...)

Module Contents

swissvotes.views.auth.handle_login(self: onegov.user.Auth, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.user.forms.LoginForm) onegov.core.types.RenderData | webob.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) onegov.core.types.RenderData | webob.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) onegov.core.types.RenderData | webob.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) onegov.core.types.RenderData | webob.Response[source]