Remove direct authentication via trusted networks or API password (#27656)
* Remove direct authentication via trusted networks and API password * Fix tests
This commit is contained in:
1 parent
97478d1ef4
commit
3231e22ddf
33 files changed
+114
-423
No files matched your search
@@ -3,7 +3,7 @@
|
||||
import asyncio
|
||||
import json
|
||||
|
||||
from aiohttp.hdrs import CONTENT_TYPE, AUTHORIZATION
|
||||
from aiohttp.hdrs import AUTHORIZATION
|
||||
import pytest
|
||||
|
||||
from homeassistant import core, const, setup
|
||||
@@ -24,11 +24,6 @@ from . import DEMO_DEVICES
|
||||
|
||||
API_PASSWORD = "test1234"
|
||||
|
||||
HA_HEADERS = {
|
||||
const.HTTP_HEADER_HA_AUTH: API_PASSWORD,
|
||||
CONTENT_TYPE: const.CONTENT_TYPE_JSON,
|
||||
}
|
||||
|
||||
PROJECT_ID = "hasstest-1234"
|
||||
CLIENT_ID = "helloworld"
|
||||
ACCESS_TOKEN = "superdoublesecret"
|
||||
|
||||
Reference in new issue
Block a user