<?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.key_loader.abstract"  abstract="true" public="false">
            <argument/> <!-- private key -->
            <argument/> <!-- public key -->
            <argument>%lexik_jwt_authentication.pass_phrase%</argument>
            <argument type="collection" /> <!-- additional public keys -->
        </service>
        <service id="lexik_jwt_authentication.key_loader.raw" class="Lexik\Bundle\JWTAuthenticationBundle\Services\KeyLoader\RawKeyLoader" parent="lexik_jwt_authentication.key_loader.abstract"/>
    </services>
</container>
