GuardAuthenticatorInterface::checkCredentials()

bool checkCredentials(mixed $credentials, UserInterface $user)

Returns true if the credentials are valid.

If any value other than true is returned, authentication will fail. You may also throw an AuthenticationException if you wish to cause authentication to fail.

The credentials are the return value from getCredentials()

Parameters

mixed $credentials
UserInterface $user

Return Value

bool

Exceptions

AuthenticationException
doc_Symfony
2016-10-28 06:20:09
Comments
Leave a Comment

Please login to continue.