<?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.encoder.web_token" class="Lexik\Bundle\JWTAuthenticationBundle\Encoder\WebTokenEncoder" public="false">
            <argument type="service" id="lexik_jwt_authentication.access_token_builder" on-invalid="null" />
            <argument type="service" id="lexik_jwt_authentication.access_token_loader" on-invalid="null" />
        </service>
        <service id="lexik_jwt_authentication.subscriber.access_token_time" class="Lexik\Bundle\JWTAuthenticationBundle\Subscriber\AdditionalAccessTokenClaimsAndHeaderSubscriber" public="false">
            <argument on-invalid="null">%lexik_jwt_authentication.token_ttl%</argument>
            <tag name="kernel.event_subscriber" />
        </service>
    </services>
</container>
