DaoAuthenticationProvider
class DaoAuthenticationProvider extends UserAuthenticationProvider
DaoAuthenticationProvider uses a UserProviderInterface to retrieve the user for a UsernamePasswordToken.
Methods
__construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, string $providerKey, EncoderFactoryInterface $encoderFactory, bool $hideUserNotFoundExceptions = true)
Constructor.
bool
Details
at line line 43
__construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, string $providerKey, EncoderFactoryInterface $encoderFactory, bool $hideUserNotFoundExceptions = true)
Constructor.
in UserAuthenticationProvider at line line 58
TokenInterface
authenticate(TokenInterface $token)
Attempts to authenticate a TokenInterface object.
in UserAuthenticationProvider at line line 105
bool
supports(TokenInterface $token)
Checks whether this provider supports the given token.