<?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.lcobucci" class="Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder">
            <argument type="service" id="lexik_jwt_authentication.jws_provider.lcobucci" />
        </service>

        <service id="Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\JWSProviderInterface" alias="lexik_jwt_authentication.jws_provider.lcobucci" />
        <service id="lexik_jwt_authentication.jws_provider.lcobucci" class="Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\LcobucciJWSProvider" public="false">
            <argument type="service" id="lexik_jwt_authentication.key_loader.raw"/>
            <argument>%lexik_jwt_authentication.encoder.crypto_engine%</argument>
            <argument>%lexik_jwt_authentication.encoder.signature_algorithm%</argument>
            <argument>%lexik_jwt_authentication.token_ttl%</argument>
            <argument>%lexik_jwt_authentication.clock_skew%</argument>
            <argument>%lexik_jwt_authentication.allow_no_expiration%</argument>
        </service>
    </services>
</container>
