3 declare(strict_types=1);
39 return hash(
"sha256", self::class);
44 return "Store information about privacy security in settings";
60 public function achieve(Setup\
Environment $environment): Setup\Environment
62 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
67 if (null !== $this->config->getAuthDurationInMs()) {
68 $settings->set(
"auth_duration", (
string) $this->config->getAuthDurationInMs());
73 if (null !== $this->config->getAccountAssistanceDurationInMs()) {
74 $settings->set(
"account_assistance_duration", (
string) $this->config->getAccountAssistanceDurationInMs());
76 $settings->delete(
"account_assistance_duration");
__construct(ilPrivacySecuritySetupConfig $config)
getPreconditions(Setup\Environment $environment)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.
ilPrivacySecuritySetupConfig $config
Store information about https is enabled.
isApplicable(Setup\Environment $environment)