use OAuth2Framework\Component\OpenIdConnect\OpenIdConnectExtension;
17
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
18
use Symfony\Component\DependencyInjection\ContainerBuilder;
19
use Symfony\Component\DependencyInjection\Reference;
20
21
class OpenIdConnectExtensionEncryptionCompilerPass implements CompilerPassInterface
22
{
23
/**
24
* {@inheritdoc}
25
*/
26
public function process(ContainerBuilder $container)
27
{
28
if (!$container->hasDefinition(OpenIdConnectExtension::class) || !$container->hasDefinition('jose.jwe_builder.oauth2_server.openid_connect.id_token')) {