| Conditions | 4 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function process(ContainerBuilder $container) |
||
| 28 | { |
||
| 29 | if (!$container->hasDefinition(ClientAssertionJwt::class) || !$container->getParameter('oauth2_server.client_authentication.client_assertion_jwt.jku_support.enabled') || !$container->hasDefinition(JKUFactory::class)) { |
||
| 30 | return; |
||
| 31 | } |
||
| 32 | |||
| 33 | $definition = $container->getDefinition(ClientAssertionJwt::class); |
||
| 34 | $definition->addMethodCall('enableJkuSupport', [new Reference(JKUFactory::class)]); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |