hass-core/homeassistant/components/http/const.py
Jason Hu fe1840f901 Deprecate http.api_password (#21884)
* Deprecated http.api_password

* Deprecated ApiConfig.api_password

GitHub Drafted PR would trigger CI after changed it to normal PR.
I have to commit a comment change to trigger it

* Trigger CI

* Adjust if- elif chain in auth middleware
2019-03-10 19:55:36 -07:00

5 lines
143 B
Python

"""HTTP specific constants."""
KEY_AUTHENTICATED = 'ha_authenticated'
KEY_HASS = 'hass'
KEY_HASS_USER = 'hass_user'
KEY_REAL_IP = 'ha_real_ip'