abstract class UserAuthenticationProvider implements AuthenticationProviderInterface
UserProviderInterface retrieves users for UsernamePasswordToken tokens.
Methods
|
__construct(UserCheckerInterface $userChecker, string $providerKey, Boolean $hideUserNotFoundExceptions = true)
Constructor. |
||
| TokenInterface |
authenticate(TokenInterface $token)
Attempts to authenticates a TokenInterface object. |
|
| Boolean |
supports(TokenInterface $token)
Checks whether this provider supports the given token. |
Details
at line 43
public
__construct(UserCheckerInterface $userChecker, string $providerKey, Boolean $hideUserNotFoundExceptions = true)
Constructor.
at line 57
public TokenInterface
authenticate(TokenInterface $token)
Attempts to authenticates a TokenInterface object.
at line 104
public Boolean
supports(TokenInterface $token)
Checks whether this provider supports the given token.