[ 'label' => 'Access Password Authentication Provider', 'description' => 'View and access the password authentication provider module', 'group' => 'Authentication Providers' ], 'authentication_provider_password.admin.view' => [ 'label' => 'View Password Status', 'description' => 'View whether another user has a password credential configured', 'group' => 'Authentication Providers' ], 'authentication_provider_password.admin.manage' => [ 'label' => 'Manage User Passwords', 'description' => 'Set, reset, or remove password credentials for other users', 'group' => 'Authentication Providers' ], ]; } public function boot(): void { $this->providerManager->register('authentication', 'password', Provider::class); } public function configure(ModuleContextInterface $context): void { if ($context instanceof BrowserModuleContextInterface) { $context->registerModule($this, 'AuthenticationProviderPassword', 'static/module.mjs'); } if ($context instanceof ConsoleModuleContextInterface) { $context->registerCommand(UserPasswordCommand::class); } } }