CommandLineUserCreation
Read onlyYes
FinalYes
Exclusively for use in CommandLineUserAuthentication and in TYPO3 setup code (cli and controller)
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Constants
- CLI_USERNAME = '_cli_'
Methods
- __construct() : mixed
- ensureCliUserExists() : bool
- Create a record in the DB table be_users called "_cli_" with no other information, when it does not exist already
Constants
CLI_USERNAME
public
mixed
CLI_USERNAME
= '_cli_'
Methods
__construct()
public
__construct(ConnectionPool $connectionPool, PasswordHashFactory $passwordHashFactory) : mixed
Parameters
- $connectionPool : ConnectionPool
- $passwordHashFactory : PasswordHashFactory
ensureCliUserExists()
Create a record in the DB table be_users called "_cli_" with no other information, when it does not exist already
public
ensureCliUserExists() : bool