forked from wallabag/wallabag
Move API stuff in ApiBundle
This commit is contained in:
0
src/Wallabag/ApiBundle/Resources/config/routing.yml
Normal file
0
src/Wallabag/ApiBundle/Resources/config/routing.yml
Normal file
4
src/Wallabag/ApiBundle/Resources/config/routing_rest.yml
Normal file
4
src/Wallabag/ApiBundle/Resources/config/routing_rest.yml
Normal file
@ -0,0 +1,4 @@
|
||||
entries:
|
||||
type: rest
|
||||
resource: "WallabagApiBundle:WallabagRest"
|
||||
name_prefix: api_
|
||||
12
src/Wallabag/ApiBundle/Resources/config/services.yml
Normal file
12
src/Wallabag/ApiBundle/Resources/config/services.yml
Normal file
@ -0,0 +1,12 @@
|
||||
services:
|
||||
wsse.security.authentication.provider:
|
||||
class: Wallabag\ApiBundle\Security\Authentication\Provider\WsseProvider
|
||||
public: false
|
||||
arguments: ['', '%kernel.cache_dir%/security/nonces']
|
||||
|
||||
wsse.security.authentication.listener:
|
||||
class: Wallabag\ApiBundle\Security\Firewall\WsseListener
|
||||
public: false
|
||||
tags:
|
||||
- { name: monolog.logger, channel: wsse }
|
||||
arguments: ['@security.context', '@security.authentication.manager', '@logger']
|
||||
Reference in New Issue
Block a user