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