0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/web/api/v2/admin
Fabien O'Carroll 1c56221d80 Added API Key auth middleware to v2 Admin API (#10006)
refs #9865

- Added `auth.authenticate.authenticateAdminApiKey` middleware
  - accepts signed JWT in an `Authorization: Ghost [token]` header
  - sets `req.api_key` if the token is valid
- Updated `authenticatePrivate` middleware stack for v2 admin routes
2019-01-18 12:45:06 +00:00
..
app.js Added API Key auth middleware to v2 Admin API (#10006) 2019-01-18 12:45:06 +00:00
middleware.js Renamed API -> Api for v2 auth logic (#10142) 2018-12-03 18:08:57 +01:00
routes.js Migrated redirects controller to API v2 (#10053) 2019-01-07 11:32:53 +00:00