Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider
DaoAuthenticationProvider uses a UserProviderInterface to retrieve the user for a UsernamePasswordToken.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class DaoAuthenticationProvider
extends UserAuthenticationProvider
{
- // members
- private $encoderFactory;
- private $userProvider;
- // methods
- public void __construct()
- protected void checkAuthentication()
- protected void retrieveUser()
- // Inherited methods from UserAuthenticationProvider
- public void __construct()
- public void authenticate()
- public void supports()
- protected abstract UserInterface retrieveUser()
- protected abstract void checkAuthentication()
Hierarchy
Members
private
- $encoderFactory
- $userProvider
Methods
protected
- checkAuthentication() — {@inheritdoc}
- retrieveUser() — {@inheritdoc}
Inherited from Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider
protected
- checkAuthentication() — Does additional checks on the user and token (like validating the credentials).
- retrieveUser() — Retrieves the user from an implementation-specific location.
public
- authenticate() — {@inheritdoc}
- supports() — {@inheritdoc}