/** * Constructor that allows to control the behavior of the Validator * * @param bool $canValidate the return value of the canValidate call * @param bool $isValid the return value of the isValid hasValidSignature call */ public function __construct($canValidate, $isValid) { $this->canValidate = $canValidate; $this->isValid = $isValid; parent::__construct(new \Psr\Log\NullLogger()); }
public function __construct(\Psr\Log\LoggerInterface $logger, SAML2_Certificate_KeyLoader $keyLoader) { $this->keyLoader = $keyLoader; parent::__construct($logger); }
public function __construct(\Psr\Log\LoggerInterface $logger, SAML2_Certificate_FingerprintLoader $fingerprintLoader) { $this->fingerprintLoader = $fingerprintLoader; parent::__construct($logger); }