Release 2.53 (#5878)
This commit is contained in:
@@ -11,7 +11,7 @@ namespace App\Configuration;
|
||||
|
||||
final class SamlConfiguration implements SamlConfigurationInterface
|
||||
{
|
||||
public function __construct(private SystemConfiguration $configuration)
|
||||
public function __construct(private readonly SystemConfiguration $configuration)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -54,4 +54,9 @@ final class SamlConfiguration implements SamlConfigurationInterface
|
||||
{
|
||||
return $this->configuration->getSamlConnection();
|
||||
}
|
||||
|
||||
public function cleanupLongRelayState(): bool
|
||||
{
|
||||
return (bool) $this->configuration->find('saml.connection.cleanupLongRelayState');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,4 +46,7 @@ interface SamlConfigurationInterface
|
||||
public function isRolesResetOnLogin(): bool;
|
||||
|
||||
public function getConnection(): array;
|
||||
|
||||
// TODO 3.0 activate me
|
||||
//public function cleanupLongRelayState(): bool;
|
||||
}
|
||||
|
||||
@@ -91,7 +91,6 @@ final class SystemConfiguration
|
||||
$array = &$replaced;
|
||||
while (\count($keys) > 1) {
|
||||
$search = array_shift($keys);
|
||||
/* @phpstan-ignore-next-line */
|
||||
if (!\array_key_exists($search, $array) || !\is_array($array[$search])) {
|
||||
$array[$search] = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user