OneLogin_Saml_XmlSec

Determine if the SAML response is valid using a provided x509 certificate.

Methods

Construct the SamlXmlSec object.

__construct(\OneLogin_Saml_Settings $settings, \OneLogin_Saml_Response $response) 

Arguments

$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.

Verify that the document only contains a single Assertion

validateNumAssertions() : bool

Response

bool

TRUE if the document passes.

Verify that the document is still valid according

validateTimestamps() : bool

Response

bool

isValid

isValid() : bool
throws

Response

bool

Properties

A SamlResponse class provided to the constructor.

_settings : \OneLogin_Saml_Settings

The document to be tested.

_document : \DomDocument
var

Type(s)

\DomDocument