<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
        <service id="lexik_jwt_authentication.jwt_token_authenticator" alias="lexik_jwt_authentication.security.guard.jwt_token_authenticator" />

        <service id="lexik_jwt_authentication.security.guard.jwt_token_authenticator" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Guard\JWTTokenAuthenticator">
            <argument type="service" id="lexik_jwt_authentication.jwt_manager"/>
            <argument type="service" id="event_dispatcher"/>
            <argument type="service" id="lexik_jwt_authentication.extractor.chain_extractor"/>
            <argument type="service">
                <service class="Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage" />
            </argument>
            <argument type="service" id="translator" on-invalid="null" />
        </service>
    </services>
</container>
