0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/web
Fabien O'Carroll 9be9531ef8
Wired up {GET,POST,DELETE} /session to v2 admin api
* Added admin specific auth{enticate,orize} middleware

refs #9865

This middleware will be used by the admin api to authenticate and
authorize requests

* Update v2/admin to use authAdminApi middleware

refs #9865

This changes thh auth middleware to use the adminApi authenticate and
authorize middlewares underneath, it also renames the middleware to be
consistent with the naming of the api.

* Removed oauth specific endpoints from /v2/admin

refs #9865

These are not to be used in v2/admin

* Wired up the session controller to the admin api

refs #9865

These endpoints will be used by ghost admin to login, confirm logged in status and logout
2018-10-05 17:45:17 +07:00
..
admin Optimised web/ debug logs 2018-10-04 17:43:08 +02:00
api Wired up {GET,POST,DELETE} /session to v2 admin api 2018-10-05 17:45:17 +07:00
shared Optimised web/ debug logs 2018-10-04 17:43:08 +02:00
site Optimised web/ debug logs 2018-10-04 17:43:08 +02:00
index.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
parent-app.js Optimised web/ debug logs 2018-10-04 17:43:08 +02:00