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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.