FOS user pool authentication

How does the FOS User Bundle authenticate a user with this service container?

$this->container->get('security.context')->getToken()->getUser(); 

I want to manipulate the authentication process. Where should I look in the kit?

+4
source share
1 answer

In fact, FOSUserBundle does not authenticate. It actually provides a db service provider. Part of the authentication is done by the internal authentication provider form_login Symfony2. If you want to create your own authentication provider, check this entry in the cookbook.

+7
source

Source: https://habr.com/ru/post/1411732/


All Articles