Exemple #1
0
 /**
  * {@inheritdoc}
  */
 public function addConfiguration(NodeDefinition $node)
 {
     parent::addConfiguration($node);
     $node->children()->arrayNode('id')->prototype('scalar')->end()->isRequired()->end()->end();
 }
 /**
  * {@inheritdoc}
  */
 public function addConfiguration(NodeDefinition $node)
 {
     parent::addConfiguration($node);
     $node->children()->booleanNode('is_rotatable')->info('If true, the service will be a rotatable key, else just storable.')->defaultFalse()->end()->integerNode('nb_keys')->info('Number of keys in the key set.')->isRequired()->min(1)->end()->scalarNode('storage_path')->isRequired()->end()->arrayNode('key_configuration')->defaultValue([])->useAttributeAsKey('key')->prototype('variable')->end()->end()->end();
 }
 /**
  * {@inheritdoc}
  */
 public function addConfiguration(NodeDefinition $node)
 {
     parent::addConfiguration($node);
     $node->children()->scalarNode('id')->info('ID of the JWKSet to use.')->isRequired()->end()->end();
 }
Exemple #4
0
 /**
  * {@inheritdoc}
  */
 public function addConfiguration(NodeDefinition $node)
 {
     parent::addConfiguration($node);
     $node->children()->scalarNode('value')->isRequired()->end()->end();
 }
 /**
  * {@inheritdoc}
  */
 public function addConfiguration(NodeDefinition $node)
 {
     parent::addConfiguration($node);
     $node->children()->scalarNode('url')->isRequired()->end()->booleanNode('is_secured')->defaultTrue()->end()->booleanNode('is_https')->defaultTrue()->end()->scalarNode('cache')->defaultNull()->end()->integerNode('cache_ttl')->defaultValue(86400)->end()->end();
 }