Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider
UserProviderInterface retrieves users for UsernamePasswordToken tokens.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class UserAuthenticationProvider
implements
AuthenticationProviderInterface
{
- // members
- private $hideUserNotFoundExceptions;
- private $userChecker;
- private $providerKey;
- // methods
- public void __construct()
- public void authenticate()
- public void supports()
- protected abstract UserInterface retrieveUser()
- protected abstract void checkAuthentication()
Hierarchy
Extended by
Implements
Members
private
- $hideUserNotFoundExceptions
- $providerKey
- $userChecker
Methods
protected
- checkAuthentication() — Does additional checks on the user and token (like validating the credentials).
- retrieveUser() — Retrieves the user from an implementation-specific location.
public
- __construct() — Constructor.
- authenticate() — {@inheritdoc}
- supports() — {@inheritdoc}