tao-test/app/taoDelivery/config/default/authorization.conf.php

11 lines
276 B
PHP

<?php
use oat\taoDelivery\model\authorization\strategy\AuthorizationAggregator;
use oat\taoDelivery\model\authorization\strategy\StateValidation;
return new AuthorizationAggregator([
AuthorizationAggregator::OPTION_PROVIDERS => [
new StateValidation()
]
]);