PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Resources/config/security.xml

http://github.com/FriendsOfSymfony/FOSFacebookBundle
XML | 26 lines | 21 code | 5 blank | 0 comment | 0 complexity | 1efa5a32ebf5bd67e7dd2266c17fe05b MD5 | raw file
 1<?xml version="1.0" ?>
 2
 3<container xmlns="http://symfony.com/schema/dic/services"
 4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 5    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
 6
 7    <services>
 8        <service id="fos_facebook.auth" class="FOS\FacebookBundle\Security\Authentication\Provider\FacebookProvider" public="false">
 9            <argument /> <!-- Provider-shared Key -->
10            <argument type="service" id="fos_facebook.api" />
11        </service>
12
13        <service id="fos_facebook.security.authentication.listener"
14                 class="FOS\FacebookBundle\Security\Firewall\FacebookListener"
15                 parent="security.authentication.listener.abstract"
16                 abstract="true">
17        </service>
18
19        <service id="fos_facebook.security.authentication.entry_point" class="FOS\FacebookBundle\Security\EntryPoint\FacebookAuthenticationEntryPoint" public="false" abstract="true">
20            <argument type="service" id="fos_facebook.api" />
21            <argument type="collection" />
22            <argument>%fos_facebook.permissions%</argument>
23        </service>
24
25    </services>
26</container>