core/tests/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 Add typing to tests with single hass argument (2) (#87675) 2023-02-08 08:51:43 +01:00
permissions Add typing to tests with single hass argument (#87631) 2023-02-07 15:01:16 +01:00
providers Deprecate legacy api auth provider (#104409) 2023-11-27 14:16:18 +01:00
__init__.py
test_auth_store.py Add type hints to core tests (#88478) 2023-02-20 11:42:56 +01:00
test_init.py Migrate auth tests to use freezegun (#105243) 2023-12-07 21:18:10 +01:00
test_jwt_wrapper.py Cache decode of JWT tokens (#90013) 2023-03-22 16:03:41 -10:00
test_models.py Refactor User attribute caching to be safer and more efficient (#96723) 2024-01-13 15:10:50 -05:00