mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 15:29:19 +03:00
12 lines
367 B
JavaScript
12 lines
367 B
JavaScript
const session = require('./session');
|
|
const apiKeyAuth = require('./api-key');
|
|
const members = require('./members');
|
|
|
|
const authenticate = {
|
|
authenticateAdminApi: [apiKeyAuth.admin.authenticate, session.authenticate],
|
|
|
|
authenticateContentApi: [apiKeyAuth.content.authenticateContentApiKey, members.authenticateMembersToken]
|
|
};
|
|
|
|
module.exports = authenticate;
|