Response|null
onAuthenticationSuccess(Request $request, TokenInterface $token, string $providerKey)
Called when authentication executed and was successful! This should return the Response sent back to the user, like a RedirectResponse to the last page they visited. If you return null, the current request will continue, and the user will be authenticated. This makes sense, for example, with an API.
Parameters Request $request TokenInterface $token string $providerKey The prov