services:
    _defaults:
        public: true

    Claroline\AuthenticationBundle\Controller\ApiTokenController:
        parent: Claroline\AppBundle\Controller\AbstractCrudController
        public: true
        arguments:
            - '@security.authorization_checker'
            - '@security.token_storage'

    Claroline\AuthenticationBundle\Controller\IpUserController:
        parent: Claroline\AppBundle\Controller\AbstractCrudController
        public: true
        arguments:
            - '@security.authorization_checker'
            - '@security.token_storage'

    Claroline\AuthenticationBundle\Controller\OauthController:
        parent: Claroline\AppBundle\Controller\AbstractCrudController
        public: true
        arguments:
            - '@router'
            - '@Claroline\CoreBundle\Library\Configuration\PlatformConfigurationHandler'
            - '@Claroline\AuthenticationBundle\Manager\OauthManager'

    Claroline\AuthenticationBundle\Controller\AuthenticationParametersController:
        parent: Claroline\AppBundle\Controller\AbstractSecurityController
        public: true
        arguments:
            - '@Claroline\AppBundle\API\Crud'
            - '@Claroline\AuthenticationBundle\Manager\AuthenticationManager'
            - '@Claroline\AppBundle\API\SerializerProvider'
            - '@security.authorization_checker'
