Loading src/Ecas.php +0 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,6 @@ use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\StreamFactoryInterface; use Throwable; // phpcs:disable Generic.Files.LineLength.TooLong final class Ecas implements CasInterface { private CasInterface $cas; Loading src/EcasProperties.php +2 −4 Original line number Diff line number Diff line Loading @@ -18,8 +18,6 @@ use InvalidArgumentException; use function array_key_exists; use function is_string; // phpcs:disable Generic.Files.LineLength.TooLong final class EcasProperties implements PropertiesInterface { public const AUTHENTICATION_LEVEL_BASIC = 'BASIC'; Loading @@ -42,8 +40,8 @@ final class EcasProperties implements PropertiesInterface $properties['protocol']['serviceValidate']['allowed_parameters'][] = 'userDetails'; $properties['protocol']['proxyValidate']['allowed_parameters'][] = 'userDetails'; $properties['protocol']['serviceValidate']['default_parameters']['format'] = 'XML'; $properties['protocol']['proxyValidate']['default_parameters']['format'] = 'XML'; $properties['protocol']['serviceValidate']['default_parameters']['format'] = 'JSON'; $properties['protocol']['proxyValidate']['default_parameters']['format'] = 'JSON'; $properties['protocol']['login']['allowed_parameters'][] = 'authenticationLevel'; $properties['protocol']['login']['default_parameters']['authenticationLevel'] = $properties['protocol']['login']['default_parameters']['authenticationLevel'] ?? self::AUTHENTICATION_LEVEL_BASIC; Loading Loading
src/Ecas.php +0 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,6 @@ use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\StreamFactoryInterface; use Throwable; // phpcs:disable Generic.Files.LineLength.TooLong final class Ecas implements CasInterface { private CasInterface $cas; Loading
src/EcasProperties.php +2 −4 Original line number Diff line number Diff line Loading @@ -18,8 +18,6 @@ use InvalidArgumentException; use function array_key_exists; use function is_string; // phpcs:disable Generic.Files.LineLength.TooLong final class EcasProperties implements PropertiesInterface { public const AUTHENTICATION_LEVEL_BASIC = 'BASIC'; Loading @@ -42,8 +40,8 @@ final class EcasProperties implements PropertiesInterface $properties['protocol']['serviceValidate']['allowed_parameters'][] = 'userDetails'; $properties['protocol']['proxyValidate']['allowed_parameters'][] = 'userDetails'; $properties['protocol']['serviceValidate']['default_parameters']['format'] = 'XML'; $properties['protocol']['proxyValidate']['default_parameters']['format'] = 'XML'; $properties['protocol']['serviceValidate']['default_parameters']['format'] = 'JSON'; $properties['protocol']['proxyValidate']['default_parameters']['format'] = 'JSON'; $properties['protocol']['login']['allowed_parameters'][] = 'authenticationLevel'; $properties['protocol']['login']['default_parameters']['authenticationLevel'] = $properties['protocol']['login']['default_parameters']['authenticationLevel'] ?? self::AUTHENTICATION_LEVEL_BASIC; Loading