0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services
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
..
apps Fixed typo in: core/server/services/apps/index.js (#9673) 2018-06-11 23:19:07 +02:00
auth Wired up {GET,POST,DELETE} /session to v2 admin api 2018-10-05 17:45:17 +07:00
mail Changed http to https links 2018-08-16 12:13:24 +02:00
permissions Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
routing Removed /index from requires 2018-10-04 17:39:04 +02:00
rss Fixed correct promise order in RSS feed generator (#9726) 2018-09-10 11:39:38 +02:00
settings 🐛Fixed blog not responding when uploading routes.yaml with unknown taxonomy (#9926) 2018-10-01 20:40:29 +02:00
themes Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
url Refactored method urlFor to use versionType instead of admin: true 2018-10-04 16:49:55 +05:30
labs.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
slack.js Changed http to https links 2018-08-16 12:13:24 +02:00
webhooks.js Import lib/common only 2017-12-12 10:28:13 +01:00
xmlrpc.js Fixed RPC pings (#9816) 2018-08-23 15:20:29 +02:00