core/homeassistant/auth
J. Nick Koston b1d0c6a4f1
Refactor User attribute caching to be safer and more efficient (#96723)
* Cache construction of is_admin

This has to be checked for a lot of api calls and the websocket
every time the call is made

* Cache construction of is_admin

This has to be checked for a lot of api calls and the websocket
every time the call is made

* Cache construction of is_admin

This has to be checked for a lot of api calls and the websocket
every time the call is made

* modernize

* coverage

* coverage

* verify caching

* verify caching

* fix type

* fix mocking
2024-01-13 15:10:50 -05:00
..
mfa_modules Update mypy to 1.6.0 (#101780) 2023-10-11 13:25:11 +02:00
permissions Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
providers Deprecate legacy api auth provider (#104409) 2023-11-27 14:16:18 +01:00
__init__.py Support for group into command_line auth provider (#92906) 2023-11-24 13:19:25 +01:00
auth_store.py Refactor User attribute caching to be safer and more efficient (#96723) 2024-01-13 15:10:50 -05:00
const.py
jwt_wrapper.py Bump PyJWT to 2.7.0 (#93128) 2023-05-16 10:26:04 +02:00
models.py Refactor User attribute caching to be safer and more efficient (#96723) 2024-01-13 15:10:50 -05:00