InfoCard/Xml/Assertion/Saml.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_InfoCard
- Subpackage
- Zend_InfoCard_Xml
- Version
- $Id: Saml.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_InfoCard_Xml_Assertion_Saml
- Implements
- \Zend_InfoCard_Xml_Assertion_Interface
- Parent(s)
- \Zend_InfoCard_Xml_Element < \SimpleXMLElement
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Methods

__toString() : stringConvert 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() : voidReturn the data within the object as an XML document
Inherited from: \Zend_InfoCard_Xml_Element_Interface::asXML()\Zend_InfoCard_Xml_Element::asXML()
convertToDOM(\Zend_InfoCard_Xml_Element $e) : \DOMElementConverts 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_ElementConverts 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() : stringGet the Assertion ID of the assertion
| Type | Description |
|---|---|
| string | The Assertion ID |

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

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

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

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

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

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

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

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

validateConditions(array $conditions) : mixedValidate 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 |