0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services/auth
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
..
api-key Added API Key auth middleware to v2 Admin API (#10006) 2019-01-18 12:45:06 +00:00
members 🐛 Fixed URL is not a constructor for Node v6 (#10289) 2018-12-17 17:23:45 +05:30
session Handled error from express-session middleware (#10084) 2018-10-30 16:16:33 +07:00
auth-strategies.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
authenticate.js Added API Key auth middleware to v2 Admin API (#10006) 2019-01-18 12:45:06 +00:00
authorize.js Renamed API -> Api for v2 auth logic (#10142) 2018-12-03 18:08:57 +01:00
index.js Session auth service (#9910) 2018-10-02 15:35:23 +07:00
oauth.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
passport.js
utils.js Replace knex.transaction by models.Base.transaction 2018-05-03 11:44:32 +02:00