public function getNodeDefinition(ArrayNodeDefinition $node)
    {
        $node->children()
                ->arrayNode($this->getName())
                    ->useAttributeAsKey('name')
                    ->prototype('array')
                        ->children()
                            ->booleanNode('is_public')
                                ->info('If true, the service will be public, else private.')
                                ->defaultTrue()
                            ->end()
                            ->scalarNode('verifier')
                                ->isRequired()
                            ->end()
                            ->scalarNode('checker')
                                ->isRequired()
                            ->end()
                            ->scalarNode('decrypter')
                                ->defaultNull()
                            ->end()
                        ->end()
                    ->end()
                ->end()
            ->end();
    }
public function getNodeDefinition(ArrayNodeDefinition $node)
    {
        $node->children()
                ->arrayNode($this->getName())
                    ->useAttributeAsKey('name')
                    ->prototype('array')
                        ->children()
                            ->booleanNode('is_public')
                                ->info('If true, the service will be public, else private.')
                                ->defaultTrue()
                            ->end()
                            ->scalarNode('verifier')
                                ->isRequired()
                            ->end()
                            ->scalarNode('checker')
                                ->isRequired()
                            ->end()
                            ->scalarNode('decrypter')
                                ->defaultNull()
                            ->end()
                        ->end()
                    ->end()
                ->end()
            ->end();
    }
{@inheritdoc}