for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Spomky-Labs
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace OAuth2Framework\Bundle\Component\Endpoint\Authorization;
use OAuth2Framework\Bundle\Component\Component;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class RequestObjectReferenceSource implements Component
{
/**
* {@inheritdoc}
public function name(): string
return 'reference';
}
public function load(array $configs, ContainerBuilder $container)
public function getNodeDefinition(ArrayNodeDefinition $node, ArrayNodeDefinition $rootNode)
$node->children()
->arrayNode($this->name())
->canBeEnabled()
->children()
->booleanNode('uris_registration_required')
->info('If true, request object reference Uris must be registered to be used (highly recommended).')
->defaultTrue()
->end()
->end();
public function prepend(ContainerBuilder $container, array $config): array
return [];
public function build(ContainerBuilder $container)
// Nothing to do