Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function buildConfiguration(NodeBuilder $node) |
||
12 | { |
||
13 | // @formatter:off |
||
14 | $node |
||
15 | ->scalarNode('client_class') |
||
16 | ->info('If you have a sub-class of OAuth2Client you want to use, add it here') |
||
17 | ->defaultValue(DraugiemOAuth2Client::class) |
||
18 | ->end() |
||
19 | ->scalarNode('redirect_route') |
||
|
|||
20 | ->isRequired() |
||
21 | ->cannotBeEmpty() |
||
22 | ->end() |
||
23 | ->arrayNode('provider_options') |
||
24 | ->info('Other options to pass to your provider\'s constructor') |
||
25 | ->prototype('variable')->end() |
||
26 | ->end() |
||
27 | ; |
||
55 |