zoneminder/web/api/app
Matt N 33092e4022 Allow API authentication using the `auth` query parameter containing an auth. hash. (#1845)
* Allow API authentication using the `auth` query parameter containing an auth. hash.

Fixes #1827

The same auth. hash for zms is used here. This allows consumers to use the API without sending the password in the query string and not require forging logins via the login form.

* Move logger.php's global Debug function to Logger::Debug to avoid polluting globals

This avoids a conflict with CakePHP when logger.php gets included indrectly from API code.

* Protect action=login when ZM_ENABLE_CSRF_MAGIC is enabled
2017-05-15 21:51:48 -04:00
..
Config Update database.php.default 2017-04-24 23:40:21 -07:00
Console remove unneeded, empty files 2016-12-26 09:49:14 -06:00
Controller Allow API authentication using the `auth` query parameter containing an auth. hash. (#1845) 2017-05-15 21:51:48 -04:00
Model remove unneeded, empty files 2016-12-26 09:49:14 -06:00
Plugin remove unneeded, empty files 2016-12-26 09:49:14 -06:00
View remove unneeded, empty files 2016-12-26 09:49:14 -06:00
vendor Merged Angular UI branch API to master 2015-06-11 02:58:58 +00:00
webroot remove unneeded, empty files 2016-12-26 09:49:14 -06:00
.htaccess Added API routing 2015-07-13 18:55:28 +00:00
index.php Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00