|
4 | 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5 | 5 | xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
6 | 6 |
|
7 |
| - <parameters> |
8 |
| - <parameter key="lexik_jwt_authentication.jwt_encoder.class">Lexik\Bundle\JWTAuthenticationBundle\Encoder\JWTEncoder</parameter> |
9 |
| - <parameter key="lexik_jwt_authentication.jwt_manager.class">Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager</parameter> |
10 |
| - <parameter key="lexik_jwt_authentication.handler.authentication_success.class">Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationSuccessHandler</parameter> |
11 |
| - <parameter key="lexik_jwt_authentication.handler.authentication_failure.class">Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationFailureHandler</parameter> |
12 |
| - <parameter key="lexik_jwt_authentication.openssl_key_loader.class">Lexik\Bundle\JWTAuthenticationBundle\Services\OpenSSLKeyLoader</parameter> |
13 |
| - <parameter key="lexik_jwt_authentication.security.authentication.provider.class">Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Provider\JWTProvider</parameter> |
14 |
| - <parameter key="lexik_jwt_authentication.security.authentication.listener.class">Lexik\Bundle\JWTAuthenticationBundle\Security\Firewall\JWTListener</parameter> |
15 |
| - <parameter key="lexik_jwt_authentication.security.authentication.entry_point.class">Lexik\Bundle\JWTAuthenticationBundle\Security\Http\EntryPoint\JWTEntryPoint</parameter> |
16 |
| - <parameter key="lexik_jwt_authentication.extractor.authorization_header_extractor.class">Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\AuthorizationHeaderTokenExtractor</parameter> |
17 |
| - <parameter key="lexik_jwt_authentication.extractor.query_parameter_extractor.class">Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\QueryParameterTokenExtractor</parameter> |
18 |
| - <parameter key="lexik_jwt_authentication.extractor.cookie_extractor.class">Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\CookieTokenExtractor</parameter> |
19 |
| - </parameters> |
20 |
| - |
21 | 7 | <services>
|
22 | 8 | <!-- JWT Encoder / Decoder / Default implementation -->
|
23 |
| - <service id="lexik_jwt_authentication.jwt_encoder" class="%lexik_jwt_authentication.jwt_encoder.class%"> |
| 9 | + <service id="lexik_jwt_authentication.jwt_encoder" class="Lexik\Bundle\JWTAuthenticationBundle\Encoder\JWTEncoder"> |
24 | 10 | <argument type="service" id="lexik_jwt_authentication.openssl_key_loader"/>
|
25 | 11 | </service>
|
26 | 12 | <!-- JWT Manager / Default implementation -->
|
27 |
| - <service id="lexik_jwt_authentication.jwt_manager" class="%lexik_jwt_authentication.jwt_manager.class%"> |
| 13 | + <service id="lexik_jwt_authentication.jwt_manager" class="Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager"> |
28 | 14 | <argument type="service" id="lexik_jwt_authentication.encoder"/>
|
29 | 15 | <argument type="service" id="event_dispatcher"/>
|
30 | 16 | <argument type="service" id="request_stack"/>
|
|
34 | 20 | </call>
|
35 | 21 | </service>
|
36 | 22 | <!-- JWT Authentication response interceptor -->
|
37 |
| - <service id="lexik_jwt_authentication.handler.authentication_success" class="%lexik_jwt_authentication.handler.authentication_success.class%"> |
| 23 | + <service id="lexik_jwt_authentication.handler.authentication_success" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationSuccessHandler"> |
38 | 24 | <argument type="service" id="lexik_jwt_authentication.jwt_manager"/>
|
39 | 25 | <argument type="service" id="event_dispatcher"/>
|
40 | 26 | <tag name="monolog.logger" channel="security"></tag>
|
41 | 27 | </service>
|
42 |
| - <service id="lexik_jwt_authentication.handler.authentication_failure" class="%lexik_jwt_authentication.handler.authentication_failure.class%"> |
| 28 | + <service id="lexik_jwt_authentication.handler.authentication_failure" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationFailureHandler"> |
43 | 29 | <tag name="monolog.logger" channel="security"></tag>
|
44 | 30 | <argument type="service" id="event_dispatcher"/>
|
45 | 31 | </service>
|
46 | 32 | <!-- OpenSSL Key Loader -->
|
47 |
| - <service id="lexik_jwt_authentication.openssl_key_loader" class="%lexik_jwt_authentication.openssl_key_loader.class%"> |
| 33 | + <service id="lexik_jwt_authentication.openssl_key_loader" class="Lexik\Bundle\JWTAuthenticationBundle\Services\OpenSSLKeyLoader"> |
48 | 34 | <argument>%lexik_jwt_authentication.private_key_path%</argument>
|
49 | 35 | <argument>%lexik_jwt_authentication.public_key_path%</argument>
|
50 | 36 | <argument>%lexik_jwt_authentication.pass_phrase%</argument>
|
51 | 37 | </service>
|
52 | 38 | <!-- JWT Security Authentication Provider -->
|
53 |
| - <service id="lexik_jwt_authentication.security.authentication.provider" class="%lexik_jwt_authentication.security.authentication.provider.class%" public="false"> |
| 39 | + <service id="lexik_jwt_authentication.security.authentication.provider" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Provider\JWTProvider" public="false"> |
54 | 40 | <argument /> <!-- User Provider -->
|
55 | 41 | <argument type="service" id="lexik_jwt_authentication.jwt_manager" />
|
56 | 42 | <call method="setUserIdentityField">
|
|
59 | 45 | <argument type="service" id="event_dispatcher"/>
|
60 | 46 | </service>
|
61 | 47 | <!-- JWT Security Authentication Listener -->
|
62 |
| - <service id="lexik_jwt_authentication.security.authentication.listener" class="%lexik_jwt_authentication.security.authentication.listener.class%" public="false"> |
| 48 | + <service id="lexik_jwt_authentication.security.authentication.listener" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Firewall\JWTListener" public="false"> |
63 | 49 | <argument type="service" id="security.token_storage"/>
|
64 | 50 | <argument type="service" id="security.authentication.manager"/>
|
65 | 51 | <argument /> <!-- Options -->
|
|
68 | 54 | </call>
|
69 | 55 | </service>
|
70 | 56 | <!-- Authorization Header Token Extractor -->
|
71 |
| - <service id="lexik_jwt_authentication.extractor.authorization_header_extractor" class="%lexik_jwt_authentication.extractor.authorization_header_extractor.class%" public="false"> |
| 57 | + <service id="lexik_jwt_authentication.extractor.authorization_header_extractor" class="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\AuthorizationHeaderTokenExtractor" public="false"> |
72 | 58 | <argument /> <!-- Header Value Prefix -->
|
73 | 59 | <argument /> <!-- Header Value Name -->
|
74 | 60 | </service>
|
75 | 61 | <!-- Query Parameter Token Extractor -->
|
76 |
| - <service id="lexik_jwt_authentication.extractor.query_parameter_extractor" class="%lexik_jwt_authentication.extractor.query_parameter_extractor.class%" public="false"> |
| 62 | + <service id="lexik_jwt_authentication.extractor.query_parameter_extractor" class="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\QueryParameterTokenExtractor" public="false"> |
77 | 63 | <argument /> <!-- Parameter Name -->
|
78 | 64 | </service>
|
79 | 65 | <!-- Cookie Token Extractor -->
|
80 |
| - <service id="lexik_jwt_authentication.extractor.cookie_extractor" class="%lexik_jwt_authentication.extractor.cookie_extractor.class%" public="false"> |
| 66 | + <service id="lexik_jwt_authentication.extractor.cookie_extractor" class="Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\CookieTokenExtractor" public="false"> |
81 | 67 | <argument /> <!-- Name -->
|
82 | 68 | </service>
|
83 | 69 | <!-- JWT Security Authentication Entry Point -->
|
84 |
| - <service id="lexik_jwt_authentication.security.authentication.entry_point" class="%lexik_jwt_authentication.security.authentication.entry_point.class%" public="false"></service> |
| 70 | + <service id="lexik_jwt_authentication.security.authentication.entry_point" class="Lexik\Bundle\JWTAuthenticationBundle\Security\Http\EntryPoint\JWTEntryPoint" public="false"></service> |
85 | 71 | </services>
|
86 | 72 |
|
87 | 73 | </container>
|
0 commit comments