InfoCard/Xml/Assertion/Interface.php
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 [email protected] 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: Interface.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_InfoCard_Xml_Assertion_Interface
The Interface required by any InfoCard Assertion Object implemented within the component
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods

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 |

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 |