]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/config/services.yml
check authentication on each API route
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / config / services.yml
CommitLineData
7ffb1e80 1services:
32da2a70
J
2 wallabag_core.helper.detect_active_theme:
3 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
4 arguments:
5 - @security.context
495aecfe 6 - %theme% # default theme from parameters.yml
32da2a70 7
6894d48e 8 # custom form type
32da2a70
J
9 wallabag_core.form.type.config:
10 class: Wallabag\CoreBundle\Form\Type\ConfigType
11 arguments:
12 - %liip_theme.themes%
13 tags:
14 - { name: form.type, alias: config }
6894d48e 15
fcb1fba5
NL
16 wallabag_core.form.registration:
17 class: Wallabag\CoreBundle\Form\Type\RegistrationType
18 tags:
19 - { name: form.type, alias: wallabag_user_registration }
20
6894d48e
J
21 wallabag_core.form.type.forgot_password:
22 class: Wallabag\CoreBundle\Form\Type\ForgotPasswordType
23 arguments:
24 - @doctrine
25 tags:
26 - { name: form.type, alias: forgot_password }
0c83fd59
J
27
28 wallabag_core.param_converter.username_rsstoken_converter:
29 class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter
30 tags:
31 - { name: request.param_converter, converter: username_rsstoken_converter }
32 arguments:
33 - @doctrine
164bd801
J
34
35 wallabag_core.doctrine.prefixed_naming_strategy:
36 class: Wallabag\CoreBundle\Doctrine\Mapping\PrefixedNamingStrategy
37 arguments: [%database_table_prefix%]
fad31615
JB
38
39 wallabag_core.graby:
40 class: Graby\Graby
558d9aab
JB
41 arguments:
42 - { error_message: false }
43
44 wallabag_core.content_proxy:
45 class: Wallabag\CoreBundle\Helper\ContentProxy
46 arguments:
47 - @wallabag_core.graby
fcb1fba5
NL
48
49 wallabag_core.registration_confirmed:
50 class: Wallabag\CoreBundle\EventListener\AuthenticationListener
51 arguments: [@service_container, @doctrine.orm.entity_manager]
52 tags:
53 - { name: kernel.event_subscriber }