providerManager->register('authentication', 'oidc', Provider::class); } public function install(): void { // Create cache directory for OIDC state $cacheDir = $this->rootDir . '/var/cache/oidc_state'; if (!is_dir($cacheDir)) { mkdir($cacheDir, 0755, true); } } public function uninstall(): void { // Optionally clean up cache } public function enable(): void { // Provider is registered on boot } public function disable(): void { // Nothing to do - provider not registered when module is disabled } public function bootUi(): array { return [ 'handle' => $this->handle(), 'namespace' => 'AuthenticationProviderOidc', 'version' => $this->version(), 'label' => $this->label(), 'author' => $this->author(), 'description' => $this->description(), 'boot' => 'static/module.mjs', ]; } }