*/ interface UserProviderInterface { /** * Check if all software requirements are met (libraries, extensions, ...) * * @throws \Exception */ public function checkRequirements(); /** * Provision an new user for the given identifier. * * @param string $identifier The user identifier. * * @return User|null The new user or null if the provider does not know the user. */ public function provisionUser($identifier); }