Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
47 | public function prepend(ContainerBuilder $container, array $config): array |
||
48 | { |
||
49 | if (null !== $config['key_set']['signature']) { |
||
50 | ConfigurationHelper::addKeyset($container, 'oauth2_server.key_set.signature', 'jwkset', ['value' => $config['key_set']['signature']]); |
||
51 | } |
||
52 | if (null !== $config['key_set']['encryption']) { |
||
53 | ConfigurationHelper::addKeyset($container, 'oauth2_server.key_set.encryption', 'jwkset', ['value' => $config['key_set']['encryption']]); |
||
54 | } |
||
55 | |||
56 | return []; |
||
57 | } |
||
58 | } |
||
59 |