GuardAuthenticatorHandler::authenticateUserAndHandleSuccess()

Response|null authenticateUserAndHandleSuccess(UserInterface $user, Request $request, GuardAuthenticatorInterface $authenticator, string $providerKey)

Convenience method for authenticating the user and returning the Response if any for success.

Parameters

UserInterface $user
Request $request
GuardAuthenticatorInterface $authenticator
string $providerKey The provider (i.e. firewall) key

Return Value

Response|null
doc_Symfony
2016-10-28 06:20:07
Comments
Leave a Comment

Please login to continue.