PHP Class OneLogin_Saml_XmlSec

Afficher le fichier Open project: onelogin/php-saml Class Usage Examples

Protected Properties

Свойство Type Description
$_document DomDocument The document to be tested.
$_settings OneLogin_Saml_Settings A SamlResponse class provided to the constructor.

Méthodes publiques

Méthode 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

Method Details

__construct() public méthode

Construct the SamlXmlSec object.
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.

isValid() public méthode

public isValid ( ) : boolean
Résultat boolean

validateNumAssertions() public méthode

Verify that the document only contains a single Assertion
public validateNumAssertions ( ) : boolean
Résultat boolean TRUE if the document passes.

validateTimestamps() public méthode

Verify that the document is still valid according
public validateTimestamps ( ) : boolean
Résultat boolean

Property Details

$_document protected_oe property

The document to be tested.
protected DomDocument $_document
Résultat DomDocument

$_settings protected_oe property

A SamlResponse class provided to the constructor.
protected OneLogin_Saml_Settings $_settings
Résultat OneLogin_Saml_Settings