The %command.name% command generates a simple custom authenticator class based off the example provided in: https://symfony.com/doc/current/security/custom_authenticator.html This will also update your security.yaml for the new custom authenticator. php %command.full_name%