Auth Timeout
auth_timeout · odoo/odoo
Health
67/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.49 MB
Module directory on disk
Code analysis
0 migration notes
5 models
1 view
0 HTTP endpoints
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
auth_passkey_groups_form |
auth.passkey.groups.form | res.groups | form | Inherits base.view_groups_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (2)-
get_frontend_session_info(self)@api.modelExtend the frontend session info with inactivity timeout and user login. dds the user's inactivity timeout (if applicable) to the session info returned to the frontend web client. :return: The updated session information dictionary. :rtype: dict -
session_info(self)Extend the backend session info with inactivity timeout metadata. Adds the user's inactivity timeout (if applicable) to the session info returned to the backend web client. :return: The updated session information dictionary. :rtype: dict
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (12)
-
has_lock_timeoutBooleancompute='_compute_has_lock_timeout'help="Requires re-authentication after the user's last connection"readonly=False -
has_lock_timeout_inactivityBooleancompute='_compute_lock_timeout_inactivity_bool'help='Requires re-authentication after a period of user inactivity'readonly=False -
lock_timeoutIntegerhelp='Time interval (in minutes) after which re-authentication is required, regardless of inactivity.'string='Session timeout' -
lock_timeout_2fa_selectionSelectioncompute='_compute_lock_timeout_2fa_selection'inverse='_inverse_lock_timeout_2fa_selection' args: [('without_2fa', 'Logout'), ('with_2fa', 'Logout with two-factor authentication')] -
lock_timeout_delay_in_unitIntegercompute='_compute_lock_timeout_delay_unit'readonly=False -
lock_timeout_delay_unitSelectioncompute='_compute_lock_timeout_delay_unit'readonly=False args: DELAY_UNITS -
lock_timeout_inactivityIntegerhelp='Time (in minutes) of user inactivity after which re-authentication is required.'string='Inactivity timeout' -
lock_timeout_inactivity_2fa_selectionSelectioncompute='_compute_lock_timeout_inactivity_2fa_selection'inverse='_inverse_lock_timeout_inactivity_2fa_selection' args: [('without_2fa', 'Screen lock'), ('with_2fa', 'Screen lock with two-factor authentication')] -
lock_timeout_inactivity_delay_in_unitIntegercompute='_compute_lock_timeout_inactivity_delay_unit'readonly=False -
lock_timeout_inactivity_delay_unitSelectioncompute='_compute_lock_timeout_inactivity_delay_unit'readonly=False args: DELAY_UNITS -
lock_timeout_inactivity_mfaBooleanhelp='Enable two-factor authentication when the inactivity timeout is reached.'string='Require MFA on inactivity timeout' -
lock_timeout_mfaBooleanhelp='Enable two-factor authentication when the session timeout is reached.'string='Require MFA on session timeout'
-
create(self, vals_list)@api.model_create_multiOverride to invalidate `_get_lock_timeouts` cache if timeout fields are set on creation. -
unlink(self)Override to invalidate `_get_lock_timeouts` cache if timeout fields exist on deleted records. -
write(self, vals)Override to invalidate `_get_lock_timeouts` cache if timeout fields are updated.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…