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, Boolean $hideUserNotFoundExceptions = true)
Constructor. |
||
| TokenInterface |
authenticate(TokenInterface $token)
Attempts to authenticates a TokenInterface object. |
from UserAuthenticationProvider |
| Boolean |
supports(TokenInterface $token)
Checks whether this provider supports the given token. |
from UserAuthenticationProvider |
Details
at line 43
public
__construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, string $providerKey, EncoderFactoryInterface $encoderFactory, Boolean $hideUserNotFoundExceptions = true)
Constructor.
in UserAuthenticationProvider at line 57
public TokenInterface
authenticate(TokenInterface $token)
Attempts to authenticates a TokenInterface object.
in UserAuthenticationProvider at line 104
public Boolean
supports(TokenInterface $token)
Checks whether this provider supports the given token.