Files
automatisch/packages/backend/src/routes/api/v1/saml-auth-providers.ee.js
2024-02-19 21:48:06 +01:00

18 lines
529 B
JavaScript

import { Router } from 'express';
import { authenticateUser } from '../../../helpers/authentication.js';
import { authorizeUser } from '../../../helpers/authorization.js';
import { checkIsEnterprise } from '../../../helpers/check-is-enterprise.js';
import getSamlAuthProvidersAction from '../../../controllers/api/v1/saml-auth-providers/get-saml-auth-providers.ee.js';
const router = Router();
router.get(
'/',
authenticateUser,
authorizeUser,
checkIsEnterprise,
getSamlAuthProvidersAction
);
export default router;