Verify that the document is still valid according
public validateTimestamps ( ) : boolean | ||
return | boolean |
public function testValidateTimestampsValid() { $assertion = file_get_contents(TEST_ROOT . '/data/responses/valid_response.xml.base64'); $response = new OneLogin_Saml_Response($this->_settings, $assertion); $xmlSec = new OneLogin_Saml_XmlSec($this->_settings, $response); $this->assertTrue($xmlSec->validateTimestamps()); }