0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/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 Wired members service up to api and app (#10262) 2018-12-11 15:18:07 +07:00
session Updated session middleware to support node v6 (#9980) 2018-10-10 20:07:31 +07:00
auth-strategies_spec.js
authenticate_spec.js Session auth service (#9910) 2018-10-02 15:35:23 +07:00
oauth_spec.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
passport_spec.js