mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Make auth safe params a frozenset (#125640)
This commit is contained in:
@@ -34,7 +34,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
DATA_API_PASSWORD: Final = "api_password"
|
DATA_API_PASSWORD: Final = "api_password"
|
||||||
DATA_SIGN_SECRET: Final = "http.auth.sign_secret"
|
DATA_SIGN_SECRET: Final = "http.auth.sign_secret"
|
||||||
SIGN_QUERY_PARAM: Final = "authSig"
|
SIGN_QUERY_PARAM: Final = "authSig"
|
||||||
SAFE_QUERY_PARAMS: Final = ["height", "width"]
|
SAFE_QUERY_PARAMS: Final = frozenset(("height", "width"))
|
||||||
|
|
||||||
STORAGE_VERSION = 1
|
STORAGE_VERSION = 1
|
||||||
STORAGE_KEY = "http.auth"
|
STORAGE_KEY = "http.auth"
|
||||||
|
Reference in New Issue
Block a user