/** * Determine if the SAML Response is valid using the certificate. * * @throws Exception * @return bool Validate the document */ public function isValid() { $xmlSec = new Maestrano_Saml_XmlSec($this->_settings, $this); return $xmlSec->isValid(); }
public function testValidateAssertionValid() { $response = SamlTestHelper::buildSamlResponse('valid_response.xml.base64', $this->settings); $xmlSec = new Maestrano_Saml_XmlSec($this->settings, $response); $this->assertTrue($xmlSec->isValid()); }