PHP Класс OneLogin_Saml_XmlSec

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_document DomDocument The document to be tested.
$_settings OneLogin_Saml_Settings A SamlResponse class provided to the constructor.

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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 isValid ( ) : boolean
Результат boolean

validateNumAssertions() публичный Метод

Verify that the document only contains a single Assertion
public validateNumAssertions ( ) : boolean
Результат boolean TRUE if the document passes.

validateTimestamps() публичный Метод

Verify that the document is still valid according
public validateTimestamps ( ) : boolean
Результат boolean

Описание свойств

$_document защищенное свойство

The document to be tested.
protected DomDocument $_document
Результат DomDocument

$_settings защищенное свойство

A SamlResponse class provided to the constructor.
protected OneLogin_Saml_Settings $_settings
Результат OneLogin_Saml_Settings