MantisBT: master b7c14c79

Author Committer Branch Timestamp Parent
vboctor vboctor master 2017-03-04 11:59 master b552fe00
Changeset

Support cookie based auth for APIs

In order to enable javascript in the UI to call into REST API,
this change adds support for cookie based authentication.
The type of authentication used is returned in the X-Mantis-LoginMethod
(e.g. anonymous, cookie, api-token).

mod - api/rest/restcore/AuthMiddleware.php Diff File
mod - api/soap/mc_api.php Diff File
mod - core/api_token_api.php Diff File
mod - core/authentication_api.php Diff File
mod - core/constant_inc.php Diff File