Ghost/core/test/unit
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
..
adapters
api Updated permissions service to handle api keys (#9967) 2019-01-18 11:17:11 +00:00
apps Refactored routing config for multiple api versions (#10333) 2019-01-04 21:59:39 +01:00
config
data Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
helpers Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
lib Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
models Updated permissible methods for hasApiKeyPermissions (#9970) 2019-01-18 13:39:53 +01:00
public
services Added API Key auth middleware to v2 Admin API (#10006) 2019-01-18 12:45:06 +00:00
web Added brute protection to content api (#10362) 2019-01-14 14:11:48 +01:00
filters_spec.js