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
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
..
v0.1 Optimised web/ debug logs 2018-10-04 17:43:08 +02:00
v2 Added API Key auth middleware to v2 Admin API (#10006) 2019-01-18 12:45:06 +00:00
index.js Wired members service up to api and app (#10262) 2018-12-11 15:18:07 +07:00