예제 #1
0
 /**
  * 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());
 }
예제 #2
0
 public function __construct(\Psr\Log\LoggerInterface $logger, SAML2_Certificate_KeyLoader $keyLoader)
 {
     $this->keyLoader = $keyLoader;
     parent::__construct($logger);
 }
예제 #3
0
 public function __construct(\Psr\Log\LoggerInterface $logger, SAML2_Certificate_FingerprintLoader $fingerprintLoader)
 {
     $this->fingerprintLoader = $fingerprintLoader;
     parent::__construct($logger);
 }