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

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 |