7
* This source file is subject to the new BSD license that is bundled
8
* with this package in the file LICENSE.txt.
9
* It is also available through the world-wide-web at this URL:
10
* http://framework.zend.com/license/new-bsd
11
* If you did not receive a copy of the license and are unable to
12
* obtain it through the world-wide-web, please send an email
13
* to license@zend.com so we can send you a copy immediately.
16
* @package Zend_InfoCard
17
* @subpackage Zend_InfoCard_Xml
18
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
19
* @license http://framework.zend.com/license/new-bsd New BSD License
20
* @version $Id: Interface.php 9094 2008-03-30 18:36:55Z thomas $
24
* The Interface required by any InfoCard Assertion Object implemented within the component
27
* @package Zend_InfoCard
28
* @subpackage Zend_InfoCard_Xml
29
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
30
* @license http://framework.zend.com/license/new-bsd New BSD License
32
interface Zend_InfoCard_Xml_Assertion_Interface
35
* Get the Assertion ID of the assertion
37
* @return string The Assertion ID
39
public function getAssertionID();
42
* Return an array of attributes (claims) contained within the assertion
44
* @return array An array of attributes / claims within the assertion
46
public function getAttributes();
49
* Get the Assertion URI for this type of Assertion
51
* @return string the Assertion URI
53
public function getAssertionURI();
56
* Return an array of conditions which the assertions are predicated on
58
* @return array an array of conditions
60
public function getConditions();
63
* Validate the conditions array returned from the getConditions() call
65
* @param array $conditions An array of condtions for the assertion taken from getConditions()
66
* @return mixed Boolean true on success, an array of condition, error message on failure
68
public function validateConditions(Array $conditions);