This Hawat pluggable module provides special authentication method, that is particularly usable for developers and enables them to impersonate any user.
After enabling this module special authentication endpoint will be available and will provide simple authentication form with list of all currently available user accounts. It will be possible for that user to log in as any other user without entering password.
This module is disabled by default in production environment and enabled by default in development environment.
This module must never ever be enabled on production systems, because it is a huge security risk and enables possible access control management violation. You have been warned!
Page providing special developer login form.
Authentication: no authentication
Name of the blueprint as module global constant.
DevAuthBlueprint(name, import_name, **kwargs)¶
Hawat pluggable module - special developer authentication (auth_dev).
View enabling special developer login.
Mandatory interface required by the
flask.views.View.dispatch_request(). Will be called by the Flask framework to service the request.
methods= ['GET', 'POST']¶