/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. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <services>
  6. <service id="fos_facebook.auth" class="FOS\FacebookBundle\Security\Authentication\Provider\FacebookProvider" public="false">
  7. <argument /> <!-- Provider-shared Key -->
  8. <argument type="service" id="fos_facebook.api" />
  9. </service>
  10. <service id="fos_facebook.security.authentication.listener"
  11. class="FOS\FacebookBundle\Security\Firewall\FacebookListener"
  12. parent="security.authentication.listener.abstract"
  13. abstract="true">
  14. </service>
  15. <service id="fos_facebook.security.authentication.entry_point" class="FOS\FacebookBundle\Security\EntryPoint\FacebookAuthenticationEntryPoint" public="false" abstract="true">
  16. <argument type="service" id="fos_facebook.api" />
  17. <argument type="collection" />
  18. <argument>%fos_facebook.permissions%</argument>
  19. </service>
  20. </services>
  21. </container>