maddox / harmony-api

🗼 A simple server allowing you to query/control multiple local Harmony Home Hubs over HTTP or MQTT
MIT License
393 stars 115 forks source link

Add Request Header Authorization #73

Open tcjennings opened 6 years ago

tcjennings commented 6 years ago

Implements a middleware handler to check the request header for a "auth_code" value to match the configured "authentication_code" in config.json (optional).

gannondroid commented 6 years ago

https://github.com/maddox/harmony-api/pull/73/commits/4016e9675a23cdd394a8b1fc1004379221016b5d https://github.com/maddox/harmony-api/pull/73/commits/4344e5f740a2599e050d11b337c9c3e2e8b27f7 https://github.com/maddox/harmony-api/pull/73/commits/c30c37a176fb70bcb7bcdd94ccbd101ffebd9511a