feat: command to set user password

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-20 23:53:40 -04:00
parent 52de2f022f
commit 73c2f34263
2 changed files with 112 additions and 1 deletions
+10 -1
View File
@@ -5,13 +5,15 @@ declare(strict_types=1);
namespace KTXM\AuthenticationProviderPassword;
use KTXC\Resource\ProviderManager;
use KTXF\Module\ModuleConsoleInterface;
use KTXF\Module\ModuleInstanceAbstract;
use KTXM\AuthenticationProviderPassword\Console\UserPasswordCommand;
/**
* Default Identity Provider Module
* Provides local database authentication
*/
class Module extends ModuleInstanceAbstract
class Module extends ModuleInstanceAbstract implements ModuleConsoleInterface
{
public function __construct(
private readonly ProviderManager $providerManager,
@@ -58,6 +60,13 @@ class Module extends ModuleInstanceAbstract
$this->providerManager->register('authentication', 'password', Provider::class);
}
public function registerCI(): array
{
return [
UserPasswordCommand::class,
];
}
public function registerBI(): array
{
return [