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