]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/config/services.yml
Merge pull request #1166 from wallabag/v2-rss
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / config / services.yml
CommitLineData
7ffb1e80 1services:
32da2a70 2 wallabag_core.twig.extension:
7ffb1e80
NL
3 class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension
4 tags:
5 - { name: twig.extension }
32da2a70 6
7ffb1e80
NL
7 wsse.security.authentication.provider:
8 class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider
9 public: false
10 arguments: ['', '%kernel.cache_dir%/security/nonces']
32da2a70 11
7ffb1e80
NL
12 wsse.security.authentication.listener:
13 class: Wallabag\CoreBundle\Security\Firewall\WsseListener
14 public: false
15 tags:
16 - { name: monolog.logger, channel: wsse }
17 arguments: ['@security.context', '@security.authentication.manager', '@logger']
32da2a70
J
18
19 wallabag_core.helper.detect_active_theme:
20 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
21 arguments:
22 - @security.context
495aecfe 23 - %theme% # default theme from parameters.yml
32da2a70 24
6894d48e 25 # custom form type
32da2a70
J
26 wallabag_core.form.type.config:
27 class: Wallabag\CoreBundle\Form\Type\ConfigType
28 arguments:
29 - %liip_theme.themes%
30 tags:
31 - { name: form.type, alias: config }
6894d48e
J
32
33 wallabag_core.form.type.forgot_password:
34 class: Wallabag\CoreBundle\Form\Type\ForgotPasswordType
35 arguments:
36 - @doctrine
37 tags:
38 - { name: form.type, alias: forgot_password }
0c83fd59
J
39
40 wallabag_core.param_converter.username_rsstoken_converter:
41 class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter
42 tags:
43 - { name: request.param_converter, converter: username_rsstoken_converter }
44 arguments:
45 - @doctrine