Created
August 21, 2013 07:13
-
-
Save romaricdrigon/6291210 to your computer and use it in GitHub Desktop.
Symfony2 + AngularJS de-authentification handling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- services config file - declare our event subscriber --> | |
<?xml version="1.0" ?> | |
<container xmlns="http://symfony.com/schema/dic/services" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> | |
<services> | |
<service id="acme.listener.unauthorized_ajax" class="Acme\DemoBundle\EventListener\UnauthorizedAjaxListener"> | |
<tag name="kernel.event_subscriber" /> | |
</service> | |
</services> | |
</container> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment