heliport.core.user_logic package
Subpackages
- heliport.core.user_logic.user_information_managers package
- Submodules
- heliport.core.user_logic.user_information_managers.manager_ldap module
LdapUserInformationManager
LdapUserInformationManager.get_authentication_backend_id()
LdapUserInformationManager.get_display_name()
LdapUserInformationManager.get_group()
LdapUserInformationManager.get_user_by_id()
LdapUserInformationManager.get_users_by_group()
LdapUserInformationManager.import_groups()
LdapUserInformationManager.import_users_and_groups()
LdapUserInformationManager.update()
- heliport.core.user_logic.user_information_managers.managers module
BasicUserInformationManager
BasicUserInformationManager.get_authentication_backend_id()
BasicUserInformationManager.get_display_name()
BasicUserInformationManager.get_group()
BasicUserInformationManager.get_users_by_group()
BasicUserInformationManager.import_groups()
BasicUserInformationManager.import_users_and_groups()
BasicUserInformationManager.update()
UserInformationManager
UserInformationManager.fetch_user()
UserInformationManager.get_authentication_backend_id()
UserInformationManager.get_display_name()
UserInformationManager.get_group()
UserInformationManager.get_users_by_group()
UserInformationManager.import_groups()
UserInformationManager.import_users_and_groups()
UserInformationManager.update()
- Module contents
BasicUserInformationManager
BasicUserInformationManager.get_authentication_backend_id()
BasicUserInformationManager.get_display_name()
BasicUserInformationManager.get_group()
BasicUserInformationManager.get_users_by_group()
BasicUserInformationManager.import_groups()
BasicUserInformationManager.import_users_and_groups()
BasicUserInformationManager.update()
LdapUserInformationManager
LdapUserInformationManager.get_authentication_backend_id()
LdapUserInformationManager.get_display_name()
LdapUserInformationManager.get_group()
LdapUserInformationManager.get_user_by_id()
LdapUserInformationManager.get_users_by_group()
LdapUserInformationManager.import_groups()
LdapUserInformationManager.import_users_and_groups()
LdapUserInformationManager.update()
Submodules
heliport.core.user_logic.remote_login module
- heliport.core.user_logic.remote_login.delete_ssh_key(login_info)
- heliport.core.user_logic.remote_login.deploy_ssh_key(login_info, username, password)
heliport.core.user_logic.user_information module
- heliport.core.user_logic.user_information.get_user_information_manager(request: HttpRequest) UserInformationManager | None
Get the user information manager for the currently logged-in user.
The manager is chosen by getting the user’s auth backend from their session and using it to look up the manager class in
settings.USER_INFORMATION_MANAGERS
. If no auth backend is found in the session, or if, for the given backend, no manager class can be found in the settings,None
is returned.
- heliport.core.user_logic.user_information.update_heliport_user_and_group(**kwargs)
Update HELIPORT user and group when a user logs in.
This signal handler uses a user information manager to update the
HeliportUser
andHeliportGroup
of a user instance.
Module contents
This module has functionality for working with users beyond just the HELIPORT DB.