welcome back to dyb-tech
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?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.api_platform.openapi.factory" class="Lexik\Bundle\JWTAuthenticationBundle\OpenApi\OpenApiFactory" decorates="api_platform.openapi.factory" decoration-on-invalid="ignore" public="false">
|
||||
<argument type="service" id="lexik_jwt_authentication.api_platform.openapi.factory.inner"/>
|
||||
<argument /><!-- check path -->
|
||||
<argument /><!-- username path -->
|
||||
<argument /><!-- password path -->
|
||||
</service>
|
||||
</services>
|
||||
|
||||
</container>
|
||||
@@ -0,0 +1,42 @@
|
||||
<?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.check_config_command" class="Lexik\Bundle\JWTAuthenticationBundle\Command\CheckConfigCommand">
|
||||
<argument type="service" id="lexik_jwt_authentication.key_loader" />
|
||||
<argument type="string">%lexik_jwt_authentication.encoder.signature_algorithm%</argument> <!-- signature algorithm -->
|
||||
<tag name="console.command" command="lexik:jwt:check-config" />
|
||||
</service>
|
||||
|
||||
<service id="lexik_jwt_authentication.migrate_config_command" class="Lexik\Bundle\JWTAuthenticationBundle\Command\MigrateConfigCommand">
|
||||
<argument type="service" id="lexik_jwt_authentication.key_loader" />
|
||||
<argument type="string">%lexik_jwt_authentication.pass_phrase%</argument>
|
||||
<argument type="string">%lexik_jwt_authentication.encoder.signature_algorithm%</argument>
|
||||
<tag name="console.command" command="lexik:jwt:migrate-config" />
|
||||
</service>
|
||||
|
||||
<service id="lexik_jwt_authentication.enable_encryption_config_command" class="Lexik\Bundle\JWTAuthenticationBundle\Command\EnableEncryptionConfigCommand">
|
||||
<argument type="service" id="Jose\Component\Core\AlgorithmManagerFactory" on-invalid="null" />
|
||||
<tag name="console.command" command="lexik:jwt:enable-encryption" />
|
||||
</service>
|
||||
|
||||
<service id="lexik_jwt_authentication.generate_token_command" class="Lexik\Bundle\JWTAuthenticationBundle\Command\GenerateTokenCommand" public="true">
|
||||
<argument type="service" id="lexik_jwt_authentication.jwt_manager" />
|
||||
<argument type="collection" /> <!-- user providers -->
|
||||
<tag name="console.command" command="lexik:jwt:generate-token" />
|
||||
</service>
|
||||
|
||||
<service id="lexik_jwt_authentication.generate_keypair_command" class="Lexik\Bundle\JWTAuthenticationBundle\Command\GenerateKeyPairCommand">
|
||||
<argument type="service" id="filesystem" />
|
||||
<argument />
|
||||
<argument />
|
||||
<argument />
|
||||
<argument />
|
||||
<tag name="console.command" command="lexik:jwt:generate-keypair" />
|
||||
</service>
|
||||
</services>
|
||||
|
||||
</container>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?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.cookie_provider" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Cookie\JWTCookieProvider" abstract="true">
|
||||
<argument>null</argument> <!-- Default name -->
|
||||
<argument>null</argument> <!-- Default lifetime -->
|
||||
<argument/> <!-- Default samesite -->
|
||||
<argument/> <!-- Default path -->
|
||||
<argument>null</argument> <!-- Default domain -->
|
||||
<argument/> <!-- Default secure -->
|
||||
<argument/> <!-- Default httpOnly -->
|
||||
<argument>null</argument> <!-- Default split -->
|
||||
<argument>false</argument> <!-- Default partitioned -->
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?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>
|
||||
<!-- Deprecated -->
|
||||
<service id="lexik_jwt_authentication.security.authentication.provider" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Provider\JWTProvider" public="false">
|
||||
<argument /> <!-- User Provider -->
|
||||
<argument type="service" id="lexik_jwt_authentication.jwt_manager" />
|
||||
<argument type="service" id="event_dispatcher"/>
|
||||
<argument>%lexik_jwt_authentication.user_id_claim%</argument>
|
||||
<call method="setUserIdentityField">
|
||||
<argument>%lexik_jwt_authentication.user_identity_field%</argument>
|
||||
</call>
|
||||
<deprecated>The "%service_id%" service is deprecated since LexikJWTAuthenticationBundle version 2.0 and will be removed in 3.0</deprecated>
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.security.authentication.listener" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Firewall\JWTListener" public="false">
|
||||
<argument type="service" id="security.token_storage"/>
|
||||
<argument type="service" id="security.authentication.manager"/>
|
||||
<argument /> <!-- Options -->
|
||||
<call method="setDispatcher">
|
||||
<argument type="service" id="event_dispatcher"/>
|
||||
</call>
|
||||
<deprecated>The "%service_id%" service is deprecated since LexikJWTAuthenticationBundle version 2.0 and will be removed in 3.0</deprecated>
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.security.authentication.entry_point" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\EntryPoint\JWTEntryPoint" public="false">
|
||||
<deprecated>The "%service_id%" service is deprecated since LexikJWTAuthenticationBundle version 2.0 and will be removed in 3.0</deprecated>
|
||||
</service>
|
||||
<service id="Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenInterface" alias="lexik_jwt_authentication.jwt_manager" />
|
||||
|
||||
<service id="lexik_jwt_authentication.key_loader.openssl" class="Lexik\Bundle\JWTAuthenticationBundle\Services\KeyLoader\OpenSSLKeyLoader" parent="lexik_jwt_authentication.key_loader.abstract">
|
||||
<deprecated>The "%service_id%" service is deprecated since version 2.5 and will be removed in 3.0. Use lexik_jwt_authentication.key_loader.raw instead.</deprecated>
|
||||
</service>
|
||||
|
||||
<service id="lexik_jwt_authentication.jws_provider.default" class="Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\DefaultJWSProvider" public="false">
|
||||
<deprecated>The "%service_id%" is deprecated since version 2.5 and will be removed in 5.0, use "lexik_jwt_authentication.jws_provider.lcobucci" instead.</deprecated>
|
||||
<argument type="service" id="lexik_jwt_authentication.key_loader"/>
|
||||
<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>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
</container>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?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>
|
||||
<!-- Updated deprecation element for Symfony 5.1+ -->
|
||||
<!-- Deprecated -->
|
||||
<service id="lexik_jwt_authentication.security.authentication.provider" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Provider\JWTProvider" public="false">
|
||||
<argument /> <!-- User Provider -->
|
||||
<argument type="service" id="lexik_jwt_authentication.jwt_manager" />
|
||||
<argument type="service" id="event_dispatcher"/>
|
||||
<argument>%lexik_jwt_authentication.user_id_claim%</argument>
|
||||
<call method="setUserIdentityField">
|
||||
<argument>%lexik_jwt_authentication.user_identity_field%</argument>
|
||||
</call>
|
||||
<deprecated package="lexik/jwt-authentication-bundle" version="2.0">The "%service_id%" service is deprecated since LexikJWTAuthenticationBundle version 2.0 and will be removed in 3.0</deprecated>
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.security.authentication.listener" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Firewall\JWTListener" public="false">
|
||||
<argument type="service" id="security.token_storage"/>
|
||||
<argument type="service" id="security.authentication.manager"/>
|
||||
<argument /> <!-- Options -->
|
||||
<call method="setDispatcher">
|
||||
<argument type="service" id="event_dispatcher"/>
|
||||
</call>
|
||||
<deprecated package="lexik/jwt-authentication-bundle" version="2.0">The "%service_id%" service is deprecated since LexikJWTAuthenticationBundle version 2.0 and will be removed in 3.0</deprecated>
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.security.authentication.entry_point" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\EntryPoint\JWTEntryPoint" public="false">
|
||||
<deprecated package="lexik/jwt-authentication-bundle" version="2.0">The "%service_id%" service is deprecated since LexikJWTAuthenticationBundle version 2.0 and will be removed in 3.0</deprecated>
|
||||
</service>
|
||||
<service id="Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenInterface" alias="lexik_jwt_authentication.jwt_manager" />
|
||||
|
||||
<service id="lexik_jwt_authentication.key_loader.openssl" class="Lexik\Bundle\JWTAuthenticationBundle\Services\KeyLoader\OpenSSLKeyLoader" parent="lexik_jwt_authentication.key_loader.abstract">
|
||||
<deprecated package="lexik/jwt-authentication-bundle" version="2.5">The "%service_id%" service is deprecated since version 2.5 and will be removed in 3.0. Use lexik_jwt_authentication.key_loader.raw instead.</deprecated>
|
||||
</service>
|
||||
|
||||
<service id="lexik_jwt_authentication.jws_provider.default" class="Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\DefaultJWSProvider" public="false">
|
||||
<deprecated package="lexik/jwt-authentication-bundle" version="2.5">The "%service_id%" is deprecated since version 2.5 and will be removed in 5.0, use "lexik_jwt_authentication.jws_provider.lcobucci" instead.</deprecated>
|
||||
<argument type="service" id="lexik_jwt_authentication.key_loader"/>
|
||||
<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>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
</container>
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
<?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>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?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_manager" class="Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager" public="true">
|
||||
<argument type="service" id="lexik_jwt_authentication.encoder"/>
|
||||
<argument type="service" id="event_dispatcher"/>
|
||||
<argument>%lexik_jwt_authentication.user_id_claim%</argument>
|
||||
<call method="setUserIdentityField">
|
||||
<argument>%lexik_jwt_authentication.user_identity_field%</argument>
|
||||
<argument>false</argument>
|
||||
</call>
|
||||
</service>
|
||||
|
||||
<service id="Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface" alias="lexik_jwt_authentication.jwt_manager" />
|
||||
</services>
|
||||
</container>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?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>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?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>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?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.default" class="Lexik\Bundle\JWTAuthenticationBundle\Encoder\DefaultEncoder">
|
||||
<argument type="service" id="lexik_jwt_authentication.jws_provider.default"/>
|
||||
</service>
|
||||
|
||||
<service id="Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\JWSProviderInterface" alias="lexik_jwt_authentication.jws_provider.default" />
|
||||
</services>
|
||||
</container>
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
<?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.handler.authentication_success" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationSuccessHandler">
|
||||
<argument type="service" id="lexik_jwt_authentication.jwt_manager"/>
|
||||
<argument type="service" id="event_dispatcher"/>
|
||||
<argument type="collection"/> <!-- Cookie providers -->
|
||||
<argument>true</argument>
|
||||
<tag name="monolog.logger" channel="security" />
|
||||
</service>
|
||||
<service id="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationSuccessHandler" alias="lexik_jwt_authentication.handler.authentication_success" />
|
||||
|
||||
<service id="lexik_jwt_authentication.handler.authentication_failure" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationFailureHandler">
|
||||
<tag name="monolog.logger" channel="security" />
|
||||
<argument type="service" id="event_dispatcher"/>
|
||||
<argument type="service" id="translator" on-invalid="null" />
|
||||
</service>
|
||||
<service id="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationFailureHandler" alias="lexik_jwt_authentication.handler.authentication_failure" />
|
||||
</services>
|
||||
</container>
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
<?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.security.jwt_authenticator" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator" abstract="true">
|
||||
<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 /> <!-- User Provider -->
|
||||
<argument type="service" id="translator" on-invalid="null" />
|
||||
</service>
|
||||
|
||||
</services>
|
||||
</container>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?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.extractor.chain_extractor" class="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\ChainTokenExtractor" public="false">
|
||||
<argument type="collection" />
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.extractor.authorization_header_extractor" class="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\AuthorizationHeaderTokenExtractor">
|
||||
<argument /> <!-- Header Value Prefix -->
|
||||
<argument /> <!-- Header Value Name -->
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.extractor.query_parameter_extractor" class="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\QueryParameterTokenExtractor">
|
||||
<argument /> <!-- Parameter Name -->
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.extractor.cookie_extractor" class="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\CookieTokenExtractor">
|
||||
<argument /> <!-- Name -->
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.extractor.split_cookie_extractor" class="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\SplitCookieExtractor">
|
||||
<argument /> <!-- Cookies -->
|
||||
</service>
|
||||
<service public="false" id="lexik_jwt_authentication.security.jwt_user_provider" class="Lexik\Bundle\JWTAuthenticationBundle\Security\User\JWTUserProvider">
|
||||
<argument />
|
||||
</service>
|
||||
<service id="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\TokenExtractorInterface" alias="lexik_jwt_authentication.extractor.chain_extractor" />
|
||||
</services>
|
||||
</container>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?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>
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
<?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.access_token_builder" class="Lexik\Bundle\JWTAuthenticationBundle\Services\WebToken\AccessTokenBuilder" public="false">
|
||||
<argument type="service" id="Symfony\Contracts\EventDispatcher\EventDispatcherInterface" />
|
||||
<argument type="service" id="Jose\Bundle\JoseFramework\Services\JWSBuilderFactory" />
|
||||
<argument type="service" id="Jose\Bundle\JoseFramework\Services\JWEBuilderFactory" on-invalid="null" />
|
||||
<argument /> <!-- Signature algorithm -->
|
||||
<argument /> <!-- Signature key -->
|
||||
<argument on-invalid="null" /> <!-- Key encryption algorithm -->
|
||||
<argument on-invalid="null" /> <!-- Content encryption algorithm -->
|
||||
<argument on-invalid="null" /> <!-- Encryption key -->
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
<?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.access_token_loader" class="Lexik\Bundle\JWTAuthenticationBundle\Services\WebToken\AccessTokenLoader" public="false">
|
||||
<argument type="service" id="Jose\Bundle\JoseFramework\Services\JWSLoaderFactory" />
|
||||
<argument type="service" id="Jose\Bundle\JoseFramework\Services\JWELoaderFactory" on-invalid="null" />
|
||||
<argument type="service" id="Jose\Bundle\JoseFramework\Services\ClaimCheckerManagerFactory" />
|
||||
<argument type="collection" /> <!-- Claim checkers -->
|
||||
<argument type="collection"/> <!-- JWS header checkers -->
|
||||
<argument type="collection"/> <!-- Mandatory claims -->
|
||||
<argument type="collection" /> <!-- Allowed signature algorithms -->
|
||||
<argument /> <!-- Signature keyset -->
|
||||
<argument on-invalid="null" /> <!-- Continue on decryption failure -->
|
||||
<argument type="collection" on-invalid="null" /> <!-- JWE header checkers -->
|
||||
<argument type="collection" on-invalid="null" /> <!-- Allowed key encryption algorithms -->
|
||||
<argument type="collection" on-invalid="null" /> <!-- Allowed content encryption algorithms -->
|
||||
<argument on-invalid="null" /> <!-- Encryption keyset -->
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.web_token.iat_validator" class="Jose\Component\Checker\IssuedAtChecker" public="false">
|
||||
<argument>%lexik_jwt_authentication.clock_skew%</argument>
|
||||
<argument>true</argument>
|
||||
<tag name="jose.checker.claim" alias="iat_with_clock_skew" />
|
||||
<tag name="jose.checker.header" alias="iat_with_clock_skew" />
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.web_token.exp_validator" class="Jose\Component\Checker\ExpirationTimeChecker" public="false">
|
||||
<argument>%lexik_jwt_authentication.clock_skew%</argument>
|
||||
<argument>true</argument>
|
||||
<tag name="jose.checker.claim" alias="exp_with_clock_skew" />
|
||||
<tag name="jose.checker.header" alias="exp_with_clock_skew" />
|
||||
</service>
|
||||
<service id="lexik_jwt_authentication.web_token.nbf_validator" class="Jose\Component\Checker\NotBeforeChecker" public="false">
|
||||
<argument>%lexik_jwt_authentication.clock_skew%</argument>
|
||||
<argument>true</argument>
|
||||
<tag name="jose.checker.claim" alias="nbf_with_clock_skew" />
|
||||
<tag name="jose.checker.header" alias="nbf_with_clock_skew" />
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
||||
Reference in New Issue
Block a user