Property | Type | Description | |
---|---|---|---|
$_document | DomDocument | The document to be tested. | |
$_settings | OneLogin_Saml_Settings | A SamlResponse class provided to the constructor. |
Method | Description | |
---|---|---|
__construct ( OneLogin_Saml_Settings $settings, OneLogin_Saml_Response $response ) | Construct the SamlXmlSec object. | |
isValid ( ) : boolean | ||
validateNumAssertions ( ) : boolean | Verify that the document only contains a single Assertion | |
validateTimestamps ( ) : boolean | Verify that the document is still valid according |
public __construct ( OneLogin_Saml_Settings $settings, OneLogin_Saml_Response $response ) | ||
$settings | OneLogin_Saml_Settings | A SamlResponse settings object containing the necessary x509 certicate to test the document. |
$response | OneLogin_Saml_Response | The document to test. |
public validateNumAssertions ( ) : boolean | ||
return | boolean | TRUE if the document passes. |
public validateTimestamps ( ) : boolean | ||
return | boolean |
protected DomDocument $_document | ||
return | DomDocument |