27 'name' => array(
'value1',
'value2',
'value3'),
28 'test' => array(
'test'),
52 if (count($values) === 0) {
65$assertion = new \SAML2\Assertion();
67$assertion->setNameId(
$query->getNameId());
68$assertion->setNotBefore(time());
69$assertion->setNotOnOrAfter(time() + 5*60);
74$sc = new \SAML2\XML\saml\SubjectConfirmation();
77$sc->SubjectConfirmationData->NotOnOrAfter = time() + 5*60;
79$sc->SubjectConfirmationData->InResponseTo =
$query->getId();
80$assertion->setSubjectConfirmation(array(
$sc));
89$response->setAssertions(array($assertion));
if(!($query instanceof \SAML2\AttributeQuery)) $idpEntityId
$sc SubjectConfirmationData
if($spEntityId===NULL) $idpMetadata
An exception for terminatinating execution or to throw for unit testing.
static getCurrentBinding()
Guess the current binding.
const CM_BEARER
Bearer subject confirmation method.
const NAMEFORMAT_UNSPECIFIED
The interpretation of the attribute name is left to individual implementations.
static addSign(SimpleSAML_Configuration $srcMetadata, SimpleSAML_Configuration $dstMetadata, \SAML2\SignedElement $element)
Add signature key and sender certificate to an element (Message or Assertion).