Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
A Xml Assertion Document in SAML Token format

__toString(
)
:
string
Convert the object to a string by displaying its XML content
Inherited from: \Zend_InfoCard_Xml_Element::__toString()Type | Description |
---|---|
string | an XML representation of the object |

asXML(
)
:
void
Return the data within the object as an XML document
Inherited from: \Zend_InfoCard_Xml_Element_Interface::asXML()
convertToDOM(
\Zend_InfoCard_Xml_Element $e
)
:
\DOMElement
Converts an XML Element object into a DOM object
Inherited from: \Zend_InfoCard_Xml_Element::convertToDOM()Name | Type | Description |
---|---|---|
$e | \Zend_InfoCard_Xml_Element | The object to convert |
Type | Description |
---|---|
\DOMElement | A DOMElement representation of the same object |
Exception | Description |
---|---|
\Zend_InfoCard_Xml_Exception |

convertToObject(
\DOMElement $e, string $classname
)
:
\Zend_InfoCard_Xml_Element
Converts a DOMElement object into the specific class
Inherited from: \Zend_InfoCard_Xml_Element::convertToObject()Name | Type | Description |
---|---|---|
$e | \DOMElement | The DOMElement object to convert |
$classname | string | The name of the class to convert it to (must inhert from Zend_InfoCard_Xml_Element) |
Type | Description |
---|---|
\Zend_InfoCard_Xml_Element | a Xml Element object from the DOM element |
Exception | Description |
---|---|
\Zend_InfoCard_Xml_Exception |

getAssertionID(
)
:
string
Get the Assertion ID of the assertion
Type | Description |
---|---|
string | The Assertion ID |

getAssertionURI(
)
:
string
Get the Assertion URI for this type of Assertion
Type | Description |
---|---|
string | the Assertion URI |

getAttributes(
)
:
array
Return an array of attributes (claims) contained within the assertion
Type | Description |
---|---|
array | An array of attributes / claims within the assertion |

getConditions(
)
:
array
Return an array of conditions which the assertions are predicated on
Type | Description |
---|---|
array | an array of conditions |
Exception | Description |
---|---|
\Zend_InfoCard_Xml_Exception |

getConfirmationMethod(
)
:
string
Return the Confirmation Method URI used in the Assertion
Type | Description |
---|---|
string | The confirmation method URI |

getIssuedTimestamp(
)
:
integer
Get the Timestamp of when the assertion was issued
Type | Description |
---|---|
integer | a UNIX timestamp representing when the assertion was issued |

getIssuer(
)
:
string
Get the Issuer URI of the assertion
Type | Description |
---|---|
string | the URI of the assertion Issuer |

getMajorVersion(
)
:
integer
Get the Major Version of the SAML Assertion
Type | Description |
---|---|
integer | The major version number |

getMinorVersion(
)
:
integer
The Minor Version of the SAML Assertion
Type | Description |
---|---|
integer | The minor version number |

validateConditions(
array $conditions
)
:
mixed
Validate the conditions array returned from the getConditions() call
Name | Type | Description |
---|---|---|
$conditions | array | An array of condtions for the assertion taken from getConditions() |
Type | Description |
---|---|
mixed | Boolean true on success, an array of condition, error message on failure |